From 8a5cd920235eefda418bba0e949ba522cab72a4c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 八月 2022 16:18:29 +0800
Subject: [PATCH] 9685 【后台】开服时间整合(清档完毕后入库存档)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_11.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_11.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_11.py
index 983ef3f..f6ab372 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_11.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_11.py
@@ -65,7 +65,7 @@
def ProcessAI(curNPC, tick):
#切换镖车状态(在GameServer中切换)
#===============================================================================
-# if curNPC.GetHP() <= 0 :
+# if GameObj.GetHP(curNPC) <= 0 :
# GameWorld.Log("正常镖车AI -> 镖车切换状态:损坏")
# return
#===============================================================================
@@ -103,7 +103,7 @@
PlayerTruck.AddTruckStateBuff(curNPC, tick)
return
- if curPlayer.GetHP() <= 0 :
+ if GameObj.GetHP(curPlayer) <= 0 :
return
#获得玩家和镖车间的距离
--
Gitblit v1.8.0