From f19bd5e1518c43e6312e28a60947c74f1997ddff Mon Sep 17 00:00:00 2001 From: wulongxiao <2545507770@qq.com> Date: Wed, 25 Dec 2024 23:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meng_yao/Assets/Prefabs/charatar/enemy/wood_min.prefab | 4 +++- meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meng_yao/Assets/Prefabs/charatar/enemy/wood_min.prefab b/meng_yao/Assets/Prefabs/charatar/enemy/wood_min.prefab index 63eb5476a..b3b01ff95 100644 --- a/meng_yao/Assets/Prefabs/charatar/enemy/wood_min.prefab +++ b/meng_yao/Assets/Prefabs/charatar/enemy/wood_min.prefab @@ -344,6 +344,7 @@ MonoBehaviour: SkillId: AttackType: AttackActionType: + AttackRange: 0 AttackCD: 0 CritRate: 0 CriticalHitRateBonus: 0 @@ -432,7 +433,8 @@ MonoBehaviour: hitIndex: 2 normalIndex: 0 isHit: 0 - Tags: 8 + myTags: 10 + mySkillUp: {fileID: 0} enemyId: moveSpeed: 2 harmNumber: 0 diff --git a/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs b/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs index d07d5908b..557d2e276 100644 --- a/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs +++ b/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs @@ -64,7 +64,7 @@ public class SkillUp : Fun set { speedOfBullets = value; - attack.roleBulletSpeedAdd = speedOfBullets; + attack.roleBulletSpeedAdd *= (1+speedOfBullets); } }