From d83c225e1ce7f9aa854dc1e185fec02a594e1066 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 16 六月 2021 18:32:58 +0800
Subject: [PATCH] 8983 【港台】【BT2】【港台-1.100.7】【BT2-1.100.1】循环相关的活动配置优化(周循环支持配置开始循环日期及结束循环日期,格式: W1|开启日期 或 W7|结束日期 主干冲突)
---
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