From e54ed037297fa1d4c679c44dd43fb56ae0b232c7 Mon Sep 17 00:00:00 2001 From: lq <3298408835@qq.com> Date: Tue, 7 Jan 2025 19:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=9F=E7=86=8A=E7=8C=AB=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/script/A_Fight/SkillUp/txm_SkillUp.cs | 13 +++++++------ meng_yao/Assets/script/A_Fight/SpawnMonster.cs | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/meng_yao/Assets/script/A_Fight/SkillUp/txm_SkillUp.cs b/meng_yao/Assets/script/A_Fight/SkillUp/txm_SkillUp.cs index a7238e38..057901a9 100644 --- a/meng_yao/Assets/script/A_Fight/SkillUp/txm_SkillUp.cs +++ b/meng_yao/Assets/script/A_Fight/SkillUp/txm_SkillUp.cs @@ -29,9 +29,9 @@ public class txm_SkillUp : SkillUp /// public override void Skill_1_5() { - base.CriticalRate += 0.2f; base.AttackRange = -1; - attack.SetAttackRange(); + Action decelerationBuff=CreateDecelerationBuff(2f,1f); + role.AddBuff(role.storageBuff, decelerationBuff); } @@ -40,23 +40,24 @@ public class txm_SkillUp : SkillUp /// public override void Skill_2_1() { - base.AttackCooldown += -0.25f; + attack.roleBulletSpeedAdd += 0.2f; } /// /// 攻击范围增加2格,攻击CD增加5% /// public override void Skill_2_3() { - base.DamageOfMin += 0.25f; - base.AttackRange = -1; + base.AttackRange = 2; + base.AttackCooldown += 0.05f; attack.SetAttackRange(); + } /// /// 巨石的溅伤范围增加1格,攻击CD增加5% /// public override void Skill_2_5() { - base.CriticalRate += 0.2f; + attack.BoomRange += 1; base.AttackCooldown += 0.05f; } } diff --git a/meng_yao/Assets/script/A_Fight/SpawnMonster.cs b/meng_yao/Assets/script/A_Fight/SpawnMonster.cs index 2283f282..6ebc3207 100644 --- a/meng_yao/Assets/script/A_Fight/SpawnMonster.cs +++ b/meng_yao/Assets/script/A_Fight/SpawnMonster.cs @@ -127,6 +127,7 @@ public class SpawnMonster : Base await Task.Delay(enemy.startTime * 3); + Debug.Log("生成怪物"); GameObject go = GameObject.Instantiate( Monster_Infos.instance.GetMonster(enemy.id), SpawnLocations[value.spawnPoint - 1].position,