From 1497180bfabe49a38022db966f9bf89e5954188c Mon Sep 17 00:00:00 2001 From: Flamanis Date: Wed, 10 Jan 2024 22:24:22 -0600 Subject: [PATCH] Ignore healing to the Smoldering Seedling spawned by the trinket. --- core/parser.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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]