Skip to content

Commit

Permalink
Don't add already known NPCs to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
shrugal committed Sep 8, 2018
1 parent 559bff5 commit 08654cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CantTouchThis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08654cb

Please sign in to comment.