From 74e9dc483767948e8d4eaa36a2dc86f57d7592e9 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期五, 04 一月 2019 17:00:12 +0800 Subject: [PATCH] 2822 【1.4.100】聚魂副本怪物被守卫击杀没有掉落 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 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 3799da6..74b8512 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py @@ -4634,6 +4634,13 @@ hurtID = killerDict.keys()[0] if isGameBoss: GameWorld.Log(" 归属默认玩家, npcID=%s,playerID=%s" % (npcID, hurtID)) + elif GameWorld.GetMap().GetMapID() == ChConfig.Def_FBMapID_GatherSoul: + player = FBCommon.GetCurSingleFBPlayer() + if player: + hurtID = player.GetPlayerID() + killerDict[hurtID] = player + hurtType = ChConfig.Def_NPCHurtTypePlayer + #GameWorld.Log(" 聚魂副本归属默认玩家, npcID=%s,playerID=%s" % (npcID, hurtID)) return killerDict, killTeam, hurtType, hurtID -- Gitblit v1.8.0