Browse Source

修改bug

DESKTOP-BGJIU14\ck 1 day ago
parent
commit
464356e447

+ 5 - 1
Assets/Scripts/GameLogic/Combat/Hero/CombatHeroEntity.cs

@@ -342,7 +342,11 @@ public class CombatHeroEntity : ShowBaiscEntity, ITimeLineAnimtion, ITimeLineGet
         {
             return true;
         }
-
+        b_1002 b1002 = BuffControl.GetBuffBasicForType<b_1002>();
+        if (b1002 != null)
+        {
+            return true;
+        }
         return false;
     }
 

+ 5 - 0
Assets/Scripts/GameLogic/Combat/Hero/Turntable/SkillTurntable.cs

@@ -264,6 +264,11 @@ namespace GameLogic.Combat.Hero.Turntable
             {
                 return;
             }
+            b_1002 b1002 = CombatHeroEntity.BuffControl.GetBuffBasicForType<b_1002>();
+            if (b1002 != null)
+            {
+                return;
+            }
             if (!isStop)
             {
                 for (int i = 0; i < allSkillSlots.Count; i++)