From 027dccfa5c57091f7d1787af3e6c7b26c8c0f9a3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 23 十二月 2019 15:46:52 +0800 Subject: [PATCH] 8346 【恺英】【后端】协助系统(玩家看到boss才同步伤血封包;修复玩家PK时buff掉血添加npc伤血列表报错) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py | 4 +++- 1 files changed, 3 insertions(+), 1 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 4028134..29fc7c9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py @@ -831,13 +831,15 @@ bossHurtInfoPack.HurtValueList = hurtValueList bossHurtInfoPack.HurtCount = len(hurtValueList) + curNPC = self.curNPC assistHurtValueListDict = {} copyPlayerManager = GameWorld.GetMapCopyPlayerManager() for playerID in syncPlayerIDList: player = copyPlayerManager.FindPlayerByID(playerID) if not player: continue - + if not player.CanSeeOther(curNPC): + continue if playerID in self.__noAssitPlayerIDDict: assTagPlayerID = playerID elif playerID in self.__assistPlayerIDDict: -- Gitblit v1.8.0