fix: move icon tracking logic before condition checks to ensure icons are captured correctly

This commit is contained in:
Bluewhale1337
2026-08-25 16:24:55 +02:00
parent 553a5ece36
commit bcd566d80b
+5 -4
View File
@@ -202,11 +202,12 @@ function HealBot_OnEvent_UnitAura(this, unit)
shouldTrack = true
end
if iconCount < 10 then
iconCount = iconCount + 1
HealBot_UnitIcons[unit][iconCount] = debuff
end
if shouldTrack and mapped_type and HealBot_DebuffWatch[mapped_type] then
if iconCount < 10 then
iconCount = iconCount + 1
HealBot_UnitIcons[unit][iconCount] = debuff
end
HealBot_UnitDebuff[unit] = mapped_type
DebuffType = mapped_type;