Selaa lähdekoodia

在空中召唤英灵不受僵直影响

LAPTOP-OM1V99U2\永远de小亡灵 1 vuosi sitten
vanhempi
commit
2801b69484
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      ActionTowerDefense/Assets/Scripts/PlayerController.cs

+ 7 - 0
ActionTowerDefense/Assets/Scripts/PlayerController.cs

@@ -626,6 +626,13 @@ public class PlayerController : MoveCharacter
     {
         if (!foot.TrigGround)
         {
+            if(excludeState != CharacterState.Summon)
+            {
+                if (CheckSummon())
+                {
+                    return true;
+                }
+            }
             if ((btnRushPress || cacheRushTime > 0) && mp >= rushCostMp)
             {
                 if (excludeState != CharacterState.Rush)