From 5d75bd4ed3914c4f0b00e2c8019b5855f659fafb Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 27 Nov 2014 09:55:40 +0100 Subject: [PATCH] Extend the blacklist to other commonly misclicked npcs --- QuickQuest.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/QuickQuest.lua b/QuickQuest.lua index f8a4495..70a399a 100644 --- a/QuickQuest.lua +++ b/QuickQuest.lua @@ -75,7 +75,8 @@ local function GetNPCID() return tonumber(string.match(UnitGUID('npc') or '', 'Creature%-.-%-.-%-.-%-.-%-(.-)%-')) end -local bodyguards = { +local npcBlacklist = { + -- Bodyguards [86945] = true, -- Aeda Brightdawn (Horde) [86933] = true, -- Vivianne (Horde) [86927] = true, -- Delvar Ironfist (Alliance) @@ -83,6 +84,10 @@ local bodyguards = { [86682] = true, -- Tormmok [86964] = true, -- Leorajh [86946] = true, -- Talonpriest Ishaal + + -- Misc NPCs + [79740] = true, -- Warmaster Zog (Horde) + [79953] = true, -- Lieutenant Thorn (Alliance) } QuickQuest:Register('GOSSIP_SHOW', function() @@ -120,7 +125,7 @@ QuickQuest:Register('GOSSIP_SHOW', function() end SelectGossipOption(1) - elseif(instance ~= 'raid' and not bodyguards[npcID]) then + elseif(instance ~= 'raid' and not npcBlacklist[npcID]) then SelectGossipOption(1) end end -- 1.7.9.5