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/Attack/AttackLogic/SummonNPC_Attack_Player.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py
index 2f4abf4..2bdd44b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py
@@ -32,6 +32,7 @@
 import ChEquip
 import SkillShell
 import ChNPC
+import GameObj
 #---------------------------------------------------------------------
 
 #---------------------------------------------------------------------
@@ -86,7 +87,7 @@
 #  @remarks 攻击
 def DoAttack(curSummonNPC, curTagPlayer, skill, skillValue, skillPercent, skillHurtList, tick):
     
-    curTagPlayerHPBeforeAtk = curTagPlayer.GetHP()
+    curTagPlayerHPBeforeAtk = GameObj.GetHP(curTagPlayer)
     
     hurtType = AttackCommon.GetHurtHP(curSummonNPC, curTagPlayer, skill, 
                                       skillValue, skillPercent, tick)
@@ -121,7 +122,7 @@
 #  @remarks 处理攻击后的结果
 def AttackResult(curSummonNPC, curTagPlayer, skill, tick):
     #防守方血量
-    curTagPlayerHP = curTagPlayer.GetHP()
+    curTagPlayerHP = GameObj.GetHP(curTagPlayer)
     curTagPlayerFBHP = FBLogic.OnGetFBCurHP(curTagPlayer)
     
     #防守方被动Buff触发

--
Gitblit v1.8.0