From 0b52fea0c2dec053c44678d94bd66c10db1b0b91 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 06 四月 2021 17:27:57 +0800 Subject: [PATCH] 8870 【BT2】【后端】战力、伤害、玩家生命的数值调整为大数值(超21亿) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py | 6 +++--- 1 files changed, 3 insertions(+), 3 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 22314e3..4695ecd 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py @@ -541,8 +541,8 @@ return #进入副本默认回满血 - if curPlayer.GetHP() < curPlayer.GetMaxHP(): - curPlayer.SetHP(curPlayer.GetMaxHP()) + if GameObj.GetHP(curPlayer) < GameObj.GetMaxHP(curPlayer): + GameObj.SetHPFull(curPlayer) #副本管理器 gameFBMgr = GameWorld.GetGameFB() @@ -1262,7 +1262,7 @@ callFunc = GameWorld.GetExecFunc(FBProcess, "GameLogic_%s.%s" % (do_FBLogic_ID, "OnGetFBCurHP")) if not callFunc: - return curPlayer.GetHP() + return GameObj.GetHP(curPlayer) return callFunc(curPlayer) -- Gitblit v1.8.0