From 3a988ee5405f2f4422764a3495367ef5ffe121ea Mon Sep 17 00:00:00 2001 From: GL <2365963573@qq.com> Date: Sun, 29 Dec 2024 11:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E8=99=8E=E6=94=BB=E5=87=BB=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meng_yao/Assets/common | 2 +- meng_yao/Assets/script/A_Fight/SkillUp/laohuSkillUp.cs | 4 ++-- meng_yao/Assets/script/A_Fight/SkillUp/mkl_SkillUp.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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(); } ///