5164 【后端】【1.3.100】魔族法宝副本每次进入副本(包括继续挑战)角色血量都要重置到满血状态
1个文件已修改
1 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MagicWeapon.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MagicWeapon.py
@@ -328,6 +328,7 @@
    playerManager = GameWorld.GetMapCopyPlayerManager()
    if playerManager.GetPlayerCount() > 0:
        curPlayer = playerManager.GetPlayerByIndex(0)
        curPlayer.SetHP(curPlayer.GetMaxHP())
        DoFBHelp(curPlayer, tick)
    
    FBCommon.SetFBStep(FB_Step_Fighting, tick)