From 0b4e44a6764b14b51c4b72b9c47c5a162352850d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 22 十月 2025 11:48:31 +0800
Subject: [PATCH] 16 卡牌服务端(删除 PlayerBattle)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
index afc7ae1..829ab66 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
@@ -693,7 +693,13 @@
                 纵排: 优先前面的单位
     '''
     
+    if turnFight.winFaction:
+        return
+    
     if not useSkill.ComboEnable():
+        return
+    
+    if not atkObj.IsAlive():
         return
     
     tagFriendly = useSkill.GetTagFriendly()
@@ -921,6 +927,10 @@
             
         triggerOne = True # 设置已经触发过一次
         
+    # 有击杀时验证是否结算,最后处理
+    if killObjList:
+        turnFight.checkOverByKilled()
+        
     return
 
 def __doCostZhanchui(turnFight, curBatObj, useSkill):

--
Gitblit v1.8.0