From f0ecd6a07e7e01a659d09cafde4d1214c70a16b4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 21 一月 2026 20:57:01 +0800
Subject: [PATCH] 302 【公会】BOSS讨伐-服务端(优化可领取宝箱数统计逻辑,修复可能导致的个别情况下少领取宝箱bug;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameObj.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameObj.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameObj.py
index 2f512de..f3dd9cc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameObj.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameObj.py
@@ -533,9 +533,9 @@
else:
sendPack.Value = value
sendPack.ValueEx = 0
- turnFight = TurnAttack.GetTurnFightMgr().getNPCTurnFight(gameObj.GetID())
- if turnFight:
- turnFight.addBatPack(sendPack)
- return
+ #turnFight = TurnAttack.GetTurnFightMgr().getTurnFight(gameObj.GetTFGUID())
+ #if turnFight:
+ # turnFight.addBatPack(sendPack)
+ # return
gameObj.NotifyAll(sendPack.GetBuffer(), sendPack.GetLength())
return
--
Gitblit v1.8.0