技能实现

This commit is contained in:
wulongxiao 2024-12-25 23:34:08 +08:00
parent c9fcb56061
commit f19bd5e151
2 changed files with 4 additions and 2 deletions

View File

@ -344,6 +344,7 @@ MonoBehaviour:
SkillId: SkillId:
AttackType: AttackType:
AttackActionType: AttackActionType:
AttackRange: 0
AttackCD: 0 AttackCD: 0
CritRate: 0 CritRate: 0
CriticalHitRateBonus: 0 CriticalHitRateBonus: 0
@ -432,7 +433,8 @@ MonoBehaviour:
hitIndex: 2 hitIndex: 2
normalIndex: 0 normalIndex: 0
isHit: 0 isHit: 0
Tags: 8 myTags: 10
mySkillUp: {fileID: 0}
enemyId: enemyId:
moveSpeed: 2 moveSpeed: 2
harmNumber: 0 harmNumber: 0

View File

@ -64,7 +64,7 @@ public class SkillUp : Fun
set set
{ {
speedOfBullets = value; speedOfBullets = value;
attack.roleBulletSpeedAdd = speedOfBullets; attack.roleBulletSpeedAdd *= (1+speedOfBullets);
} }
} }