From bcd566d80b7770b20571997467622afc5ae17e83 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Tue, 25 Aug 2026 16:24:55 +0200 Subject: [PATCH] fix: move icon tracking logic before condition checks to ensure icons are captured correctly --- HealBot_Controller_Aura.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/HealBot_Controller_Aura.lua b/HealBot_Controller_Aura.lua index 090214a..62035f9 100644 --- a/HealBot_Controller_Aura.lua +++ b/HealBot_Controller_Aura.lua @@ -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;