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/NPC/NPCHurtMgr.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtMgr.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtMgr.py index b6503ea..fbca2a5 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtMgr.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtMgr.py @@ -29,6 +29,7 @@ import PlayerTeam import NPCCommon import ChConfig +import GameObj class HurtValueObj(): @@ -256,7 +257,7 @@ if player == None: continue - if player.GetHP() <= 0 or player.GetPlayerAction() == IPY_GameWorld.paDie: + if GameObj.GetHP(player) <= 0 or player.GetPlayerAction() == IPY_GameWorld.paDie: playerDisableReason[playerID] = "dead" continue -- Gitblit v1.8.0