| | |
| | | import PlayerControl
|
| | | import PlayerFamily
|
| | | import PlayerFamilyZhenfa
|
| | | import PlayerOnlinePrize
|
| | | import PlayerLoginDayAward
|
| | | import NPCCommon
|
| | | import FunctionNPCCommon
|
| | |
| | | import PlayerDailyGiftbag
|
| | | import PlayerOfflineSupport
|
| | | import PlayerFeastRedPacket
|
| | | import PlayerCrossYaomoBoss
|
| | | import PlayerLuckyCloudBuy
|
| | | import PlayerLuckyTreasure
|
| | | import PlayerTongTianLing
|
| | |
| | | #重置宠物每天的训练次数
|
| | | #PlayerPet.DoLogic_PetInfo_OnDay(curPlayer)
|
| | |
|
| | | PlayerOnlinePrize.ResetPrizeInfoOnDay(curPlayer)
|
| | | |
| | | |
| | | #OnDay时清除每日签到的信息
|
| | | PlayerSignDay.SignDayOnDay(curPlayer)
|
| | | # 累计登陆礼包登陆次数刷新
|
| | |
| | | PlayerXiangong.PlayerOnDay(curPlayer)
|
| | | PlayerControl.PayCoinOnDay(curPlayer)
|
| | | ChPlayer.PlayerOnDay(curPlayer)
|
| | | PlayerActivity.OnDay(curPlayer)
|
| | |
|
| | | # 特殊时间点X点过天
|
| | | elif onEventType == ShareDefine.Def_OnEventTypeEx:
|
| | |
| | |
|
| | | # 以下为支持两种重置模式切换配置的
|
| | | FBCommon.FBOnDay(curPlayer, onEventType)
|
| | | |
| | | #日常活动OnDay
|
| | | PlayerActivity.OnDay(curPlayer, onEventType)
|
| | |
|
| | | # 商店物品购买兑换OnDay
|
| | | FunctionNPCCommon.ShopItemOnDay(curPlayer, onEventType)
|
| | |
| | |
|
| | | # 以下为支持两种重置模式切换配置的
|
| | | FBCommon.FBOnWeek(curPlayer, onEventType)
|
| | | |
| | | #日常活动OnWeek
|
| | | PlayerActivity.OnWeek(curPlayer, onEventType)
|
| | |
|
| | | # 商店物品购买兑换OnDay
|
| | | FunctionNPCCommon.ShopItemOnWeek(curPlayer, onEventType)
|
| | |
| | | # 跨服PK
|
| | | elif key == ShareDefine.Def_Notify_WorldKey_CrossPKSeasonID:
|
| | | PlayerCrossRealmPK.OnCrossRealmPKSeasonChange(value)
|
| | | |
| | | # 跨服妖魔boss
|
| | | elif key == ShareDefine.Def_Notify_WorldKey_CrossDailyActionState % ShareDefine.CrossDailyActionID_YaomoBoss:
|
| | | if gameWorldMgr.GetGameWorldDictByKey(key) != value:
|
| | | PlayerCrossYaomoBoss.OnYaomoBossStateChange(value, tick)
|
| | |
|
| | | #通用设置
|
| | | befValue = gameWorldMgr.GetGameWorldDictByKey(key)
|