Browse Source

修改bug

DESKTOP-FB72PO8\Administrator 1 day ago
parent
commit
0e15d3927e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Assets/Scripts/GameLogic/Combat/Skill/SkillBasic.cs

+ 6 - 0
Assets/Scripts/GameLogic/Combat/Skill/SkillBasic.cs

@@ -588,6 +588,12 @@ namespace GameLogic.Combat.Skill
                 return;
             }
 
+            ShowBaiscEntity th=   targetEntity.This<CombatHeroHitPoint>().combatHeroEntity;
+            if (th == null || th.CurrCombatHeroInfo == null)
+            {
+                return;
+            }
+
             if (_triggerCallBack.ContainsKey(groupName))
             {
                 _triggerCallBack[groupName]?.Invoke(groupName,