diff --git a/core/parser.lua b/core/parser.lua index bf3905fd..f8b125e3 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -476,6 +476,9 @@ --Ozumat - Throne of Tides [44566] = true, + + --Smoldering Seedling trinket + [212590] = true, } local ignored_npcids = {} @@ -2404,6 +2407,19 @@ return end + --> npcId check for ignored npcs + --> get the npcId from the cache, if it's not there then get it from the serial and add it to the cache + local npcId = npcid_cache[targetSerial] --target npc + if (not npcId) then + --this string manipulation is running on every event + npcId = tonumber(select(6, strsplit("-", targetSerial)) or 0) + npcid_cache[targetSerial] = npcId + end + + if (ignored_npcids[npcId]) then + return + end + if (not sourceName) then --no actor name, use spell name instead sourceName = names_cache[spellName]