From fa5493ea0d905cdd67300dc0f7a22eed5e6226d0 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 08 十二月 2025 17:02:15 +0800
Subject: [PATCH] 125 战斗 死亡的角色有可能放出技能(dot or else)

---
 Main/System/Battle/Skill/SkillBase.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Main/System/Battle/Skill/SkillBase.cs b/Main/System/Battle/Skill/SkillBase.cs
index 46d265e..b6ab66b 100644
--- a/Main/System/Battle/Skill/SkillBase.cs
+++ b/Main/System/Battle/Skill/SkillBase.cs
@@ -141,8 +141,7 @@
         bool safety = caster != null 
                         && skillConfig != null 
                         && tagUseSkillAttack != null 
-                        && battleField != null
-                        && caster.IsDead() == false;
+                        && battleField != null;
 
         
         if (!safety)

--
Gitblit v1.8.0