From 21633503720673ff5d9074a3126e9ed652178594 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 13 十月 2025 15:17:47 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(优化战斗结算时机,修复某个阵营全部被击杀后在某些情况下不会马上结算的bug;)
---
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