diff --git a/HealBot_Controller_Aura.lua b/HealBot_Controller_Aura.lua index 64eed93..95fc671 100644 --- a/HealBot_Controller_Aura.lua +++ b/HealBot_Controller_Aura.lua @@ -127,6 +127,7 @@ local HealBot_TrackedHoTs = { ["Interface\\Icons\\Spell_Holy_SealOfProtection"] = true, ["Interface\\Icons\\Spell_Holy_Excorcism"] = true, ["Interface\\Icons\\btnholyscriptures"] = true, + ["Interface\\Icons\\Spell_Holy_AshesToAshes"] = true, } function HealBot_OnEvent_UnitAura(this, unit) @@ -172,6 +173,17 @@ function HealBot_OnEvent_UnitAura(this, unit) end b = b + 1 end + + local d = 1 + while true do + local debuff = UnitDebuff(unit, d) + if not debuff then break end + if HealBot_TrackedHoTs[debuff] and iconCount < 5 then + iconCount = iconCount + 1 + HealBot_UnitIcons[unit][iconCount] = debuff + end + d = d + 1 + end if HealBot_UnitDebuff[unit] then if DebuffType and HealBot_Range_Check(unit, 27) == 1 then