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/GameWorldLogic/FBProcess/FBCommon.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py index 023ee82..88fe8bb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py @@ -1051,7 +1051,7 @@ #根据副本需求, 过滤NPC for curNPC in gameNPCList: #尸体不处理 - if curNPC.GetHP() <= 0: + if GameObj.GetHP(curNPC) <= 0: continue #召唤兽特殊判断 -- Gitblit v1.8.0