| | |
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import PlayerCrossRealmPK
|
| | | import GameWorldProcess
|
| | | import CrossRealmPlayer
|
| | | import PlayerArena
|
| | | import GameWorld
|
| | |
| | | MirrorAttack.DoPlayerLeaveFB(curPlayer, tick)
|
| | | return
|
| | |
|
| | | ## 副本定时器
|
| | | def OnProcess(tick):
|
| | | fbStep = GameWorld.GetGameFB().GetFBStep()
|
| | |
|
| | | # 等待镜像初始化阶段
|
| | | if fbStep == ChConfig.Def_MirrorBatState_Init:
|
| | | if tick - GameWorld.GetGameFB().GetFBStepTick() < 20 * 1000:
|
| | | return
|
| | | FBCommon.SetFBStep(ChConfig.Def_MirrorBatState_Over, tick)
|
| | | GameWorld.ErrLog("没有等到镜像创建,直接关闭副本!")
|
| | | GameWorldProcess.CloseFB(tick)
|
| | | |
| | | return
|
| | |
|
| | | def CheckPlayersRelation_IsFriend(curPlayer, curTagPlayer):
|
| | | return not CanAttackPlayer(curPlayer, curTagPlayer)
|
| | |
|