From f2aeecf0a02b97418b762bd6ee518c33d3ae2685 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 12 九月 2025 10:22:35 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(新增演武场;支持机器人;支持PVP战斗;每场战斗结束后支持查看战斗回放;榜单优化存储玩家形象Value5;主线关卡榜支持;支持查看玩家;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py
index 90f92e9..9b80ade 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py
@@ -80,7 +80,8 @@
         buffState = buffSkill.GetCurBuffState()
         for index in range(buffMgr.GetBuffCount())[::-1]:
             buff = buffMgr.GetBuffByIndex(index)
-            if buffState and buff.GetCurBuffState() != buffState:
+            skillData = buff.GetSkillData()
+            if buffState and skillData.GetCurBuffState() != buffState:
                 continue
             # 删除相同状态的buff
             DoBuffDel(turnFight, batObj, buff, bySkill, afterLogic, buffOwner)

--
Gitblit v1.8.0