4938 【后端】【1.3.100】仙魔之争,打死敌方后改成倒计时到2的时候再把人拉回起始点
1个文件已修改
17 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
@@ -175,7 +175,9 @@
    fbStep = GameWorld.GetGameFB().GetFBStep()
    
#    # 副本准备
#    if fbStep == FB_Step_Prepare:
    if fbStep == FB_Step_Prepare:
        ResetPos(tick)
#        PrepareXMZZPK(tick) 
#    # 副本进行中
    if fbStep == FB_Step_Fighting:
@@ -185,6 +187,15 @@
#        __DoLogic_FB_Over(tick)
    
    
    return
def ResetPos(tick):
    if tick - GameWorld.GetGameFB().GetFBStepTick() < 1 * 1000:
        return
    FBCommon.SetFBStep(FB_Step_Fighting, tick)
    curPlayer = FBCommon.GetCurSingleFBPlayer()
    if curPlayer:
        __ResetPos(curPlayer)
    return
def __ChcekFBOver(tick):
@@ -240,10 +251,10 @@
    #===============================================================================================
    FBCommon.SetFBStep(FB_Step_Prepare, tick)
    #重置坐标
    __ResetPos(curPlayer)
    #__ResetPos(curPlayer)
        
    FBCommon.Sync_Player_TimeTick(IPY_GameWorld.tttWaitStart, __GetFightTime()[Def_PrepareTime] * 1000)
    FBCommon.SetFBStep(FB_Step_Fighting, tick)
    #FBCommon.SetFBStep(FB_Step_Fighting, tick)
    
    if not vsPlayerInfo:
        return