From 103b3e459dccf87e3985911a36882d07b8f63efa Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 30 八月 2018 18:04:33 +0800
Subject: [PATCH] Add: 增加仙盟召集功能; Fix:修复击杀进度同步错误问题;
---
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