From 065cf745e41302e18bac8348b7366c1dc8187e9a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 01 九月 2018 17:01:12 +0800 Subject: [PATCH] Fix: 1795 骑宠争夺活动参与奖励发放异常 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py | 4 ++-- 1 files changed, 2 insertions(+), 2 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 f8fd7c7..2c45b06 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py @@ -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