Browse Source

修复击落后的下一次伤害会进入僵直的bug

1243896040 2 weeks ago
parent
commit
5ae2215f3d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ActionTowerDefense/Assets/Scripts/Characters/AttributeStatus.cs

+ 4 - 0
ActionTowerDefense/Assets/Scripts/Characters/AttributeStatus.cs

@@ -230,6 +230,10 @@ public class AttributeStatus : MonoBehaviour
         {
         {
             hitFeedbackSystem.EnterHitStun(attackFrom);
             hitFeedbackSystem.EnterHitStun(attackFrom);
         }
         }
+        else
+        {
+            hitFeedbackSystem.canBeHitStun = false;
+        }
 
 
     }
     }