From 08654cb980af8cfd7fb9c6964fdb8795fedc1add Mon Sep 17 00:00:00 2001 From: Nikolas Honnef Date: Sat, 8 Sep 2018 23:46:58 +0200 Subject: [PATCH] Don't add already known NPCs to the list --- CantTouchThis.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CantTouchThis.lua b/CantTouchThis.lua index 2a23254..e96fa97 100644 --- a/CantTouchThis.lua +++ b/CantTouchThis.lua @@ -54,7 +54,7 @@ function Addon.COMBAT_LOG_EVENT_UNFILTERED() -- Check if it's a CC we are interested in if bit.band(info, PS.constants.CROWD_CTRL) > 0 and bit.band(details, Addon.CC_TYPES) > 0 then local npcId = Addon.GetNPCId(destGUID) - if npcId then + if npcId and not Addon.immuneKnown[npcId] then if event == "SPELL_AURA_APPLIED" then Addon.stunned[npcId] = true Addon.immuneFound[npcId] = nil