From 03fdb924f00ceb435105d23f1ef4be488cc03b0a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 11 六月 2024 19:35:49 +0800
Subject: [PATCH] 8605 【主干】【港台】【越南】【砍树】【后端】集字活动boss掉字优化,支持单次掉落多种字;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GetPlayerPet.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GetPlayerPet.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GetPlayerPet.py
index cc3d02f..9f8b077 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GetPlayerPet.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GetPlayerPet.py
@@ -18,6 +18,7 @@
 """Version = 2012-04-06 12:00"""
 #---------------------------------------------------------------------
 import GameWorld
+import GameObj
 ## GM命令执行入口
 #  @param curPlayer 当前玩家
 #  @param list 参数列表 [tagID,ExpValue]
@@ -65,8 +66,8 @@
         GameWorld.DebugAnswer(curPlayer, "加上Buff后, 总力量 = %s,总真元 = %s, 总筋骨 = %s, 总体质 = %s"%(
                                 rolePetBattleStruct.STR, rolePetBattleStruct.PNE, 
                                 rolePetBattleStruct.PHY, rolePetBattleStruct.CON))
-        curHP = petObj.GetHP()
-        curMaxHP = petObj.GetMaxHP()
+        curHP = GameObj.GetHP(petObj)
+        curMaxHP = GameObj.GetMaxHP(petObj)
         
         curMaxAtk = petObj.GetMaxAtk()
         curMAtkMax = petObj.GetMAtkMax()

--
Gitblit v1.8.0