diff --git a/meng_yao/Assets/common b/meng_yao/Assets/common index 53e24b62..bf88fb96 160000 --- a/meng_yao/Assets/common +++ b/meng_yao/Assets/common @@ -1 +1 @@ -Subproject commit 53e24b624e206126bddcc2e0d8399a442d741901 +Subproject commit bf88fb96a3125ef91388146665eeab8f80aa2f25 diff --git a/meng_yao/Assets/script/A_Fight/SkillUp/laohuSkillUp.cs b/meng_yao/Assets/script/A_Fight/SkillUp/laohuSkillUp.cs index 1836d650..44b1aa9f 100644 --- a/meng_yao/Assets/script/A_Fight/SkillUp/laohuSkillUp.cs +++ b/meng_yao/Assets/script/A_Fight/SkillUp/laohuSkillUp.cs @@ -12,7 +12,7 @@ public class laohuSkillUp :SkillUp /// public override void Skill_1_1() { - base.AttackRange += 2; + base.AttackRange = 2; attack.SetAttackRange(); Debug.LogError("使用技能1-1"); } @@ -21,7 +21,7 @@ public class laohuSkillUp :SkillUp /// public override void Skill_1_3() { - base.AttackRange += -1; + base.AttackRange = -1; attack.SetAttackRange(); // 创建一个眩晕 Buff(持续1秒,20%概率) Action decelerationBuff = CreateDecelerationBuff(1f, 0.2f); diff --git a/meng_yao/Assets/script/A_Fight/SkillUp/mkl_SkillUp.cs b/meng_yao/Assets/script/A_Fight/SkillUp/mkl_SkillUp.cs index ca5306a3..35f7c344 100644 --- a/meng_yao/Assets/script/A_Fight/SkillUp/mkl_SkillUp.cs +++ b/meng_yao/Assets/script/A_Fight/SkillUp/mkl_SkillUp.cs @@ -44,7 +44,7 @@ public class mkl_SkillUp : SkillUp public override void Skill_2_3() { base.DamageOfMin += 0.25f; - base.AttackRange += -1; + base.AttackRange = -1; attack.SetAttackRange(); } ///