|  |  |  | 
|---|
|  |  |  | import PlayerBossReborn | 
|---|
|  |  |  | import PlayerFlashGiftbag | 
|---|
|  |  |  | import PlayerFairyCeremony | 
|---|
|  |  |  | import PlayerRefineStove | 
|---|
|  |  |  | import PlayerVip | 
|---|
|  |  |  | import PlayerDiceEx | 
|---|
|  |  |  | import IpyGameDataPY | 
|---|
|  |  |  | import FamilyRobBoss | 
|---|
|  |  |  | import QuestManager | 
|---|
|  |  |  | import PyGameData | 
|---|
|  |  |  | import PlayerTJG | 
|---|
|  |  |  | 
|---|
|  |  |  | #法宝 | 
|---|
|  |  |  | PlayerMagicWeapon.OnDay(curPlayer) | 
|---|
|  |  |  | PlayerGoldGift.OnDay(curPlayer) | 
|---|
|  |  |  | #炼丹 | 
|---|
|  |  |  | PlayerRefineStove.OnDay(curPlayer) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 特殊时间点X点过天 | 
|---|
|  |  |  | elif onEventType == ShareDefine.Def_OnEventTypeEx: | 
|---|
|  |  |  | 
|---|
|  |  |  | PyGameData.g_bossShuntDeadLine = eval(msgValue) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if key == ShareDefine.Def_Notify_WorldKey_FamilyKillHorsePetRobBossCnt: | 
|---|
|  |  |  | PyGameData.g_familyKillHorsePetRobBossCntDict = eval(msgValue) | 
|---|
|  |  |  | FamilyRobBoss.OnFamilyKillHorsePetRobBossCntChange(tick) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if key == ShareDefine.Def_Notify_WorldKey_FBEnterTimeLimiitMapID: | 
|---|
|  |  |  | PyGameData.FBEnterTimeLimiitMapID = eval(msgValue) | 
|---|
|  |  |  | return | 
|---|
|  |  |  | 
|---|
|  |  |  | if GameWorld.GetMap().GetMapID() == ChConfig.Def_FBMapID_FamilyBossMap: | 
|---|
|  |  |  | familyID, openCount = eval(msgValue) | 
|---|
|  |  |  | 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]): | 
|---|
|  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  |  | 
|---|