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/Player/PlayerTrade.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTrade.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTrade.py index 8a44578..0a3f153 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTrade.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTrade.py @@ -37,6 +37,7 @@ import ReadChConfig import ShareDefine import EventReport +import GameObj #--------------------------------------------------------------------- #=============================================================================== # 交易消息提示 curPlayer.TradeMsg @@ -969,12 +970,12 @@ return False #任意一方死亡,无法开启交易 - if curPlayer.GetHP() <= 0: + if GameObj.GetHP(curPlayer) <= 0: #ApplyDealingLost07 你已经死亡,交易取消! PlayerControl.NotifyCode(curPlayer, "ApplyDealingLost07") return False - if curTagPlayer.GetHP() <= 0: + if GameObj.GetHP(curTagPlayer) <= 0: #ApplyDealingLost03 目标死亡,无法发出交易邀请! PlayerControl.NotifyCode(curPlayer, "ApplyDealingLost03") return False -- Gitblit v1.8.0