| | |
| | | import FormulaControl
|
| | | import PlayerGoldGift
|
| | | import PlayerFlashSale
|
| | | import PlayerFace
|
| | | import PlayerWing
|
| | | import ChEquip
|
| | | import PlayerYinji
|
| | |
| | | # GameWorld.Log('刷新以单位时间(分钟)消耗耐久的物品 %s'%(time.clock() - curTime))
|
| | | # curTime = time.clock()
|
| | |
|
| | | # 时效称号
|
| | | PlayerDienstgrad.CheckDienstgradTimeout(curPlayer)
|
| | | ProcessPlayerMinute(curPlayer, tick)
|
| | |
|
| | | #vip体验
|
| | | reFlash = PlayerVip.CheckVIPExperience(curPlayer, tick)
|
| | |
| | | CrossPlayerData.ProcessCrossPlayer(curPlayer, tick)
|
| | | return
|
| | |
|
| | | def ProcessPlayerMinute(curPlayer, tick):
|
| | | #玩家每分钟处理
|
| | | lastTick = curPlayer.GetTickByType(ChConfig.TYPE_Player_Tick_Minute)
|
| | | if tick - lastTick < (ChConfig.TYPE_Player_Tick_Time[ChConfig.TYPE_Player_Tick_Minute]):
|
| | | return
|
| | | curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_Minute, tick)
|
| | | |
| | | # 时效称号
|
| | | PlayerDienstgrad.CheckDienstgradTimeout(curPlayer)
|
| | | # 时效头像
|
| | | PlayerFace.OnMinute(curPlayer)
|
| | | return
|
| | |
|
| | | # 一定时间自动释放的被动技能
|
| | | def ProcessPassiveSkill(curPlayer, tick):
|