From 98598f01639ca8aaf65b005b16f66eddae3b92e7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 22 十一月 2018 02:12:27 +0800
Subject: [PATCH] 4926 【后端】【1.2】【1.3】BOSS归属特殊规则(修复部分boss杀不死bug)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_186.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_186.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_186.py
index 64a7047..5965d6f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_186.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_186.py
@@ -383,6 +383,9 @@
def OnCheckCanDie(atkObj, curNPC, skill, tick):
## 检查NPC是否可死亡
+ dropOwnerType = NPCCommon.GetDropOwnerType(curNPC)
+ if dropOwnerType not in [ChConfig.DropOwnerType_MaxHurt]:
+ return True
tagObj = __RefreshDropOwner(curNPC, tick, 0)
if not atkObj or not tagObj:
GameWorld.ErrLog("Boss当前状态下不可以死亡!npcID=%s" % curNPC.GetNPCID())
--
Gitblit v1.8.0