hxp
2019-01-21 c1b3a0b95ee7e09e434389120e35cc73893b9ae4
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MagicWeapon.py
@@ -29,6 +29,7 @@
import EventReport
import PlayerGoldGift
import PlayerMagicWeapon
import ChPlayer
#---副本配置对应key值---
(
@@ -196,7 +197,9 @@
    elif fbStep == FB_Step_Fighting:
        notify_tick = GetClearDevilTimeCfg(lineID)[Def_FightTime] * 1000 - (tick - GameWorld.GetGameFB().GetFBStepTick())
        curPlayer.Sync_TimeTick(IPY_GameWorld.tttTowerTake, 0, max(notify_tick, 0), True)
    else:
        PlayerControl.PlayerLeaveFB(curPlayer)
        return
    DoFBHelp(curPlayer, tick, not hadDelTicket)
    return
@@ -326,6 +329,10 @@
    playerManager = GameWorld.GetMapCopyPlayerManager()
    if playerManager.GetPlayerCount() > 0:
        curPlayer = playerManager.GetPlayerByIndex(0)
        if curPlayer.GetHP() <=0:
            ChPlayer.PlayerRebornByType(curPlayer, ChConfig.rebornType_System, tick)
        else:
            curPlayer.SetHP(curPlayer.GetMaxHP())
        DoFBHelp(curPlayer, tick)
    
    FBCommon.SetFBStep(FB_Step_Fighting, tick)