From 2cf5365a5e409b38bba122f9bd1b0a6bd217c1c0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 七月 2025 17:57:30 +0800
Subject: [PATCH] 16 卡牌服务端(删除无用的GY_Query_Offline_xxx命令)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
index 8e4e67d..ab672bf 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
@@ -987,26 +987,26 @@
return
-def OnSetAssistTagPlayerID(curPlayer, value):
- '''玩家更新了新的协助对象玩家ID
- 需要 清除本地图中玩家以非协助身份正在攻击的boss
-
- 以协助身份攻击的通过GameServer进行清除,因为玩家可能不和协助目标同一个地图
- 比如先点了协助A玩家,还没过去的时候,又点了协助B玩家,所以需要通过GameServer清除协助目标的相关数据
- '''
-
- if not value:
- # 只处理有协助目标的情况
- return
-
- playerID = curPlayer.GetPlayerID()
- for hurtList in PyGameData.g_npcHurtDict.values():
- if hurtList.IsNoAssistPlayer(playerID):
- GameWorld.DebugLog("玩家开始协助其他人, 删除该boss伤血!npcID=%s" % (hurtList.npcID), playerID)
- hurtList.DelHurtPlayer(playerID, "StartAssistBoss")
- break
-
- return
+#def OnSetAssistTagPlayerID(curPlayer, value):
+# '''玩家更新了新的协助对象玩家ID
+# 需要 清除本地图中玩家以非协助身份正在攻击的boss
+#
+# 以协助身份攻击的通过GameServer进行清除,因为玩家可能不和协助目标同一个地图
+# 比如先点了协助A玩家,还没过去的时候,又点了协助B玩家,所以需要通过GameServer清除协助目标的相关数据
+# '''
+#
+# if not value:
+# # 只处理有协助目标的情况
+# return
+#
+# playerID = curPlayer.GetPlayerID()
+# for hurtList in PyGameData.g_npcHurtDict.values():
+# if hurtList.IsNoAssistPlayer(playerID):
+# GameWorld.DebugLog("玩家开始协助其他人, 删除该boss伤血!npcID=%s" % (hurtList.npcID), playerID)
+# hurtList.DelHurtPlayer(playerID, "StartAssistBoss")
+# break
+#
+# return
def ClearPlayerHurtList(curNPC):
## 清空伤血列表
--
Gitblit v1.8.0