Browse Source

使魔完成attack1前不会被攻击

wulifu 1 năm trước cách đây
mục cha
commit
13305942d5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      ActionTowerDefense/Assets/Scripts/Demonic.cs

+ 1 - 0
ActionTowerDefense/Assets/Scripts/Demonic.cs

@@ -419,6 +419,7 @@ public class Demonic : MoveCharacter
     public override void Attack1()
     {
         base.Attack1();
+        invincibleTime = totalAttack1Time;
         attackTarget = targetCharacter;
     }