From deab83c4b63d78d47628c00b302dd8223c5bd877 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 10 七月 2019 17:55:56 +0800 Subject: [PATCH] 8017 【开发】【主干】【2.0.200】玩家进入副本(地图表副本类型非0地图)或自定义场景时,血量恢复满血状态 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py index f761133..65974e4 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py +++ b/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() -- Gitblit v1.8.0