Explorar o código

使魔完成attack1前不会被攻击

wulifu hai 1 ano
pai
achega
13305942d5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
     }