mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-10-27 14:10:52 +00:00
fix: move icon tracking logic before condition checks to ensure icons are captured correctly
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user