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/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py index 5351038..ea529cf 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py @@ -885,7 +885,7 @@ playerLV = playerInfoDict["playerLV"] # 职业 maxHP = playerInfoDict["maxHP"] # 职业 maxProDef = playerInfoDict["maxProDef"] # 护盾 - fightPower = playerInfoDict["fightPower"] # 战斗力 + fightPower = min(playerInfoDict["fightPower"], ChConfig.Def_UpperLimit_DWord) # 战斗力,暂无用,限制不超过20E realmLV = playerInfoDict["realmLV"] # 境界 pkScore = playerInfoDict["pkScore"] # 当前积分 danLV = playerInfoDict["danLV"] # 当前段位 @@ -1993,7 +1993,8 @@ matchPlayer.NameLen = len(matchPlayer.PlayerName) matchPlayer.Job = readyPlayerInfo["Job"] matchPlayer.LV = readyPlayerInfo["LV"] - matchPlayer.MaxHP = readyPlayerInfo["MaxHP"] + matchPlayer.MaxHP = readyPlayerInfo["MaxHP"] % ShareDefine.Def_PerPointValue + matchPlayer.MaxHPEx = readyPlayerInfo["MaxHP"] / ShareDefine.Def_PerPointValue matchPlayer.MaxProDef = readyPlayerInfo["MaxProDef"] break -- Gitblit v1.8.0