瀏覽代碼

使魔完成attack1前不会被攻击

wulifu 1 年之前
父節點
當前提交
13305942d5
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;
     }