From 06ff32d38f9f64a32d0ba8bf9d6d8b7d7bb28be5 Mon Sep 17 00:00:00 2001 From: RDW Date: Fri, 12 Apr 2024 01:02:14 +0200 Subject: [PATCH] Core: Prevented Pick Pocket from blocking regular loot events --- Core.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core.lua b/Core.lua index 3e80df6c..1eee08da 100644 --- a/Core.lua +++ b/Core.lua @@ -793,8 +793,10 @@ function R:CheckNpcInterest(guid, zone, subzone, zone_t, subzone_t, curSpell, re return end - -- We're interested in this loot, process further - Rarity.guids[guid] = true + if not requiresPickpocket then + -- Pick Pocket triggers the same loot events, but it shouldn't prevent kills from counting afterwards + Rarity.guids[guid] = true + end -- Increment attempt counter(s). One NPC might drop multiple things we want, so scan for them all. if Rarity.npcs_to_items[npcid] and type(Rarity.npcs_to_items[npcid]) == "table" then