From c077942390adf47b144205e84e6a9217bc300093 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 30 八月 2018 10:51:45 +0800 Subject: [PATCH] fix:3063 【后端】仙盟宴会增加显示前三名实时排名以及实时答题王 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py index e79c69e..761b7fd 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py @@ -1246,6 +1246,11 @@ GameLogic_FamilyBoss.GameServerOpenFamilyBoss(familyID, openCount) return + if key == ShareDefine.Def_Notify_WorldKey_FamilyPartyInfo: + if GameWorld.GetMap().GetMapID() == ChConfig.Def_FBMapID_FamilyParty: + PyGameData.g_familyPartyInfo = eval(msgValue) + return + if key.startswith(ShareDefine.Def_Notify_WorldKey_OperationActionInfo[:-2]): keyHead = ShareDefine.Def_Notify_WorldKey_OperationActionInfo[:-2] actionName = key[len(keyHead):] @@ -1354,7 +1359,12 @@ if curPlayer.GetID() == 0: continue PlayerWorldAverageLv.UpdatePlayerWorldAverageLv(curPlayer) - + + # 日常活动 + elif key.startswith(ShareDefine.Def_Notify_WorldKey_DailyActionState[:-2]): + if value and gameWorldMgr.GetGameWorldDictByKey(key) != value: + NPCCustomRefresh.ResetActivityBossRefreshCount() + #通用设置 gameWorldMgr.SetGameWorldDict(key, value) -- Gitblit v1.8.0