LAPTOP-OM1V99U2\永远de小亡灵 10 months ago
parent
commit
6789cfee61
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ActionTowerDefense/Assets/Scripts/PlayerController.cs

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

@@ -699,11 +699,11 @@ public class PlayerController : MoveCharacter
         }
         if (!isReadyConduct && nowConductButton != -1) 
         {
-            if(conductTime >= canConductTime[nowConductButton] * timeSlowingMultiplier)
+            if(conductTime >= totalCacheSummonTime + canConductTime[nowConductButton] * timeSlowingMultiplier)
             {
                 isReadyConduct = true;
             }
-            else if(conductTime >= (canConductTime[nowConductButton] - readyTipFxTime) * timeSlowingMultiplier && conductTime >= totalCacheSummonTime)
+            else if(conductTime >= totalCacheSummonTime + (canConductTime[nowConductButton] - readyTipFxTime) * timeSlowingMultiplier)
             {
                 ParticleSystem ps = conductReadyTip.starFx.GetComponent<ParticleSystem>();
                 var main = ps.main;