Ver código fonte

修复只能击飞一次的问题

wgl 6 meses atrás
pai
commit
555ae1adda

+ 1 - 1
ActionTowerDefense/Assets/Scripts/Characters/AttributeStatus.cs

@@ -260,7 +260,7 @@ public class AttributeStatus : MonoBehaviour
     //判断优先级,ture为优先级高于当前控制
     public bool PriorityOrder(SpecialState specialState)
     {
-        if (curSpecialStates != SpecialState.Null && curSpecialStates < specialState)
+        if (curSpecialStates != SpecialState.Null && curSpecialStates <= specialState)
         {
             return false;
         }