| | |
| | | # @return 无意义
|
| | | # @remarks 玩家进入副本
|
| | | def DoEnterFB(curPlayer, tick):
|
| | | gameFB = GameWorld.GetGameFB()
|
| | | fbStep = gameFB.GetFBStep()
|
| | | if fbStep == FB_Step_LeaveTime:
|
| | | PlayerControl.PlayerLeaveFB(curPlayer)
|
| | | return
|
| | | |
| | | lineID = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_ReqFBFuncLine)
|
| | | if not FBCommon.GetHadSetFBPropertyMark():
|
| | | FBCommon.SetFBPropertyMark(lineID)
|
| | | FBCommon.SetFBStep(FB_Step_MapPrepare, tick)
|
| | |
|
| | | gameFB = GameWorld.GetGameFB()
|
| | | |
| | |
|
| | | DuJieFBCfg = GetRealmFBTimeCfg()
|
| | | if not gameFB.GetGameFBDictByKey(DuJieFB_LeaderPlayerID):
|
| | |
| | | if tick - GameWorld.GetGameFB().GetFBStepTick() < invadeCfg[Def_Time_Leave] * 1000:
|
| | | return
|
| | | # 时间到,踢出还在副本的玩家等...
|
| | | FBCommon.DoLogic_FBKickAllPlayer()
|
| | | #FBCommon.DoLogic_FBKickAllPlayer()
|
| | | return
|
| | |
|
| | | def __OnDuJieFBStart(tick):
|