From 7af68e9bc37cae8c42698f4bfe721c797e8f39f7 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 10 九月 2018 15:06:50 +0800
Subject: [PATCH] fix:3380【主干、15】 离线流向增加参数

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
index 7bc9d53..2c45b06 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
@@ -412,7 +412,7 @@
                 
     for clearHurtFamilyID in clearHurtFamilyIDList:
         npcFamilyNowHurtDict.pop(clearHurtFamilyID, 0)
-        npcFamilyPlayerIDDict.pop(clearHurtFamilyID, 0)
+        #npcFamilyPlayerIDDict.pop(clearHurtFamilyID, 0)
         GameWorld.Log("清除仙盟伤血: lineID=%s,objID=%s,bossID=%s" % (lineID, objID, bossID))
         
     # 排序
@@ -511,8 +511,8 @@
     hurtMgr = GetFamilyHurtMgr()
     
     # 同步对骑宠争夺boss有伤血的玩家ID到GameServer
-    familyHurtPlayerIDListDict = hurtMgr.familyPlayerIDDict.get(key, {})
-    if IsHorsePetRobBoss(bossID) and familyHurtPlayerIDListDict:
+    if IsHorsePetRobBoss(bossID):
+        familyHurtPlayerIDListDict = hurtMgr.familyPlayerIDDict.get(key, {})
         syncMsg = str([bossID, familyHurtPlayerIDListDict])
         GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "HorsePetRobBossHurtPlayer", syncMsg, len(syncMsg))
         

--
Gitblit v1.8.0