| | |
| | | import PlayerState
|
| | | import SkillShell
|
| | | import CommFunc
|
| | | import FBCommon
|
| | | import PlayerFB
|
| | | import GameMap
|
| | | import FBLogic
|
| | |
| | | self.stateTick = tick
|
| | | self.stateTickRemain = self.GetStateTickMax()
|
| | | self.SyncFBStepTime(tick)
|
| | | FBCommon.SetFBStep(state, tick)
|
| | | return
|
| | |
|
| | | def CaclStateTick(self, tick):
|
| | |
| | | if not curPlayer or curPlayer.IsEmpty() or not curPlayer.GetMapLoadOK():
|
| | | return
|
| | |
|
| | | fbStep = GameWorld.GetGameFB().GetFBStep()
|
| | | if fbStep != ChConfig.Def_MirrorBatState_Init:
|
| | | GameWorld.ErrLog("镜像战斗该阶段已经不能初始化了! fbStep=%s" % fbStep, curPlayer.GetPlayerID())
|
| | | return
|
| | | |
| | | battle = GetMirrorBattle(curPlayer)
|
| | | if battle:
|
| | | GameWorld.DebugLog("镜像战斗玩家断线重连成功!", curPlayer.GetPlayerID())
|