hxp
2019-03-08 3c0d76d1ccbf1e1bd0014d4e2980ebf5b46b9d99
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)