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/FBProcess/GameLogic_QueenRelics.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py index f46ae81..59059e9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py @@ -98,7 +98,7 @@ #判断战力是否满足本层要求 helpIpyData = IpyGameDataPY.GetIpyGameData("FBHelpBattle", mapID, lineId) if helpIpyData: - if curPlayer.GetFightPower() < helpIpyData.GetFightPowerMin(): + if PlayerControl.GetFightPower(curPlayer) < helpIpyData.GetFightPowerMin(): GameWorld.DebugLog("战力不足%s,无法挑战本层!lineID=%s" % (helpIpyData.GetFightPowerMin(), lineId), curPlayer.GetPlayerID()) return False return True @@ -482,7 +482,7 @@ nextLineID = 0 if not nextLineIpyData else (lineID + 1) # 找不到想下一层数据代表通关 if nextLineID: helpIpyData = IpyGameDataPY.GetIpyGameData("FBHelpBattle", mapID, nextLineID) - if helpIpyData and curPlayer.GetFightPower() < helpIpyData.GetFightPowerMin(): + if helpIpyData and PlayerControl.GetFightPower(curPlayer) < helpIpyData.GetFightPowerMin(): nextLineID = 0 #战力不足,则不可挑战下一关 @@ -660,7 +660,7 @@ #判断战力是否满足本层要求 helpIpyData = IpyGameDataPY.GetIpyGameData("FBHelpBattle", mapID, toLineID) if helpIpyData: - if curPlayer.GetFightPower() < helpIpyData.GetFightPowerMin(): + if PlayerControl.GetFightPower(curPlayer) < helpIpyData.GetFightPowerMin(): GameWorld.DebugLog("战力不足%s,无法挑战下一层!toLineID=%s" % (helpIpyData.GetFightPowerMin(), toLineID), curPlayer.GetPlayerID()) return -- Gitblit v1.8.0