From faead810c3511a5032c2eea146cd9ab741fa1b53 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 28 八月 2018 12:17:45 +0800
Subject: [PATCH] fix:修复部分NPC血量超过亿用错接口导致逻辑异常问题,如AI根据血量释放技能

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index 00b6cae..7224177 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -2514,7 +2514,7 @@
             self.__AddAngryValue(npcAngry, curObjID, curObjType, plusAngryValue, canPile)
         
         #激活呆滞的NPC
-        if curNPC.GetHP() > 0 and not curNPC.GetIsNeedProcess() :
+        if GameObj.GetHP(curNPC) > 0 and not curNPC.GetIsNeedProcess() :
             curNPC.SetIsNeedProcess(True)
 
         

--
Gitblit v1.8.0