Explorar o código

修复刺客冲刺结束霸体状态

LAPTOP-OM1V99U2\永远de小亡灵 hai 1 ano
pai
achega
48b9d0713c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ActionTowerDefense/Assets/Scripts/Enemy.cs

+ 2 - 2
ActionTowerDefense/Assets/Scripts/Enemy.cs

@@ -740,7 +740,7 @@ public class Enemy : MoveCharacter
                 break;
             case CharacterState.FinishRush:
                 time = 0;
-                canNotChangeHurt = false;
+                
                 searchState = SearchState.NoTarget;
                 noOnSearchState = false;
                 ani.Play("idle", 0, 0);
@@ -888,7 +888,7 @@ public class Enemy : MoveCharacter
                     ani.Play("idle", 0, 0);
                     aniCollider.Play("Idle", 0, 0);
                 }
-
+                canNotChangeHurt = false;
                 break;
             default:
                 break;