From 7f2015aabab2671946a7f034403d09be45f4d39d Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 03 九月 2018 17:53:22 +0800 Subject: [PATCH] Fix: 修复活动线无法手动切换的bug; --- 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