| | |
| | | import GameServerRefresh
|
| | | import ShareDefine
|
| | | import PlayerGameWallow
|
| | | import Operate_PlayerBuyZhenQi
|
| | | import PlayerSignDay
|
| | | import PlayerCoin
|
| | | import PlayerControl
|
| | | import PlayerWorldAverageLv
|
| | | import PlayerFamily
|
| | | import PlayerFamilyZhenfa
|
| | | import PlayerOnlinePrize
|
| | |
| | | elif onEventType == ShareDefine.Def_OnEventTypeEx:
|
| | | # 资源找回
|
| | | PlayerRecover.RecoverOnDay(curPlayer)
|
| | | #购买次数清空
|
| | | Operate_PlayerBuyZhenQi.PlayerOnDay(curPlayer)
|
| | | # 世界boss
|
| | | BossHurtMng.OnDay(curPlayer)
|
| | | # 仙盟过天
|
| | |
| | | elif key == ShareDefine.Def_Notify_WorldKey_CrossDailyActionState % ShareDefine.CrossDailyActionID_YaomoBoss:
|
| | | if gameWorldMgr.GetGameWorldDictByKey(key) != value:
|
| | | PlayerCrossYaomoBoss.OnYaomoBossStateChange(value, tick)
|
| | | |
| | | # 世界等级 |
| | | elif key == ShareDefine.Def_Notify_WorldKey_WorldAverageLv:
|
| | | if value and gameWorldMgr.GetGameWorldDictByKey(key) != value:
|
| | | gameWorldMgr.SetGameWorldDict(key, value) # 世界等级先更新再处理
|
| | | playerManager = GameWorld.GetPlayerManager()
|
| | | for index in xrange(playerManager.GetPlayerCount()):
|
| | | curPlayer = playerManager.GetPlayerByIndex(index)
|
| | | if not GameWorld.IsNormalPlayer(curPlayer):
|
| | | continue
|
| | | PlayerWorldAverageLv.UpdatePlayerWorldAverageLv(curPlayer)
|
| | |
|
| | | #通用设置
|
| | | befValue = gameWorldMgr.GetGameWorldDictByKey(key)
|