8017 【开发】【主干】【2.0.200】玩家进入副本(地图表副本类型非0地图)或自定义场景时,血量恢复满血状态
2个文件已修改
8 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
@@ -538,6 +538,10 @@
    if gameMap.GetMapFBType() == IPY_GameWorld.fbtNull:
        return
    
    #进入副本默认回满血
    if curPlayer.GetHP() < curPlayer.GetMaxHP():
        curPlayer.SetHP(curPlayer.GetMaxHP())
    #副本管理器
    gameFBMgr = GameWorld.GetGameFB()
    
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py
@@ -515,6 +515,10 @@
        PetControl.DoLogic_PetLoadMapOK(curPlayer)
        FBLogic.OnEnterCustomScene(curPlayer, mapID, lineID)
        
    #默认回满血
    if curPlayer.GetHP() < curPlayer.GetMaxHP():
        curPlayer.SetHP(curPlayer.GetMaxHP())
    #通知进入状态
    StartCustomSceneResult(curPlayer, mapID, lineID, 1)
    return