From 9f13daf65e0f6acc43ffab6462b737a70879f5cc Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 29 八月 2018 20:17:08 +0800 Subject: [PATCH] Add: 2961 【后端】仙盟抢Boss活动; --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py | 7 ++++++- 1 files changed, 6 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..973b23a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py @@ -1354,7 +1354,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