From 118dfec06bcec570a8760734375b2132954464cc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 01 八月 2019 13:44:44 +0800
Subject: [PATCH] 8180 【后端】【主干】优化组队打BOSS(修复仙盟狗熊王掉落问题)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | 4 ++--
1 files changed, 2 insertions(+), 2 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 66b9ac2..ac4a58a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -4703,7 +4703,7 @@
self.__ownerPlayerList = ownerPlayerList
#调用物品掉落,boss一人一份
- if isGameBoss:
+ if isGameBoss and hurtType in [ChConfig.Def_NPCHurtTypePlayer, ChConfig.Def_NPCHurtTypeTeam, ChConfig.Def_NPCHurtTypeSpecial]:
for curPlayer in ownerPlayerList:
self.__NPCDropItem(curPlayer, ChConfig.Def_NPCHurtTypePlayer, curPlayer.GetPlayerID(), [curPlayer])
elif dropPlayer:
@@ -5159,7 +5159,7 @@
self.__ownerPlayerList = ownerPlayerList
#调用物品掉落,boss一人一份
- if isGameBoss:
+ if isGameBoss and hurtType in [ChConfig.Def_NPCHurtTypePlayer, ChConfig.Def_NPCHurtTypeTeam, ChConfig.Def_NPCHurtTypeSpecial]:
for curPlayer in ownerPlayerList:
self.__NPCDropItem(curPlayer, ChConfig.Def_NPCHurtTypePlayer, curPlayer.GetPlayerID(), [curPlayer])
elif dropPlayer:
--
Gitblit v1.8.0