From a972cc7ea6c2cd055a2c6a45df80fb79a52d4b00 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 06 十二月 2022 18:31:52 +0800
Subject: [PATCH] 9651 【后端】玩家个人数据保存问题(地图玩家支持按每个玩家独立备档)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Truck.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Truck.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Truck.py
index 5954af4..c126955 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Truck.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Truck.py
@@ -127,7 +127,7 @@
     #获取召唤兽的主人
     curPlayer = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, curSummonNPC)
     
-    if curTagPlayer != None and curTagPlayer.GetHP() > 0 :
+    if curTagPlayer != None and GameObj.GetHP(curTagPlayer) > 0 :
         #进入战斗状态
         AttackCommon.SetPlayerBattleState(curTagPlayer, tick)
         

--
Gitblit v1.8.0