Add option to split dot / hot damage into separate entries entirely.

This commit is contained in:
andrew6180
2024-06-18 13:07:28 -07:00
parent 016c68d243
commit faf859dc7d
16 changed files with 80 additions and 2 deletions
+16
View File
@@ -531,6 +531,14 @@
spellId = override_spellId[spellId] or spellId
end
--> otherwise check if the spellId is periodic, and if it is then get the first rank of the spell for (DoT) spells
if token == "SPELL_PERIODIC_DAMAGE" then
local firstRank = C_Spell.GetFirstRank(spellId)
if firstRank and firstRank ~= spellId then
spellId = firstRank
end
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
@@ -1965,6 +1973,14 @@
spellId = override_spellId[spellId] or spellId
end
--> if its a periodic heal, use the first rank so it shows up at (HoT)
if token == "SPELL_PERIODIC_HEAL" then
local firstRank = C_Spell.GetFirstRank(spellId)
if firstRank then
spellId = firstRank
end
end
local effectiveHeal = absorbed
if (bIsShield) then
--shield has the correct amount of 'healing done'