hotfix: resolve UI layering and debuff coloring issues, and update version to 1.6.4

This commit is contained in:
Bluewhale1337
2026-08-17 22:29:53 +02:00
parent 99997b711a
commit d021441b32
5 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -165,6 +165,7 @@ function HealBot_OnEvent_UnitAura(this, unit)
end
local iconCount = 0
local i = 1;
HealBot_UnitDebuff[unit] = nil;
while true do
local debuff, tmp, debuff_type = UnitDebuff(unit, i, 1)
if debuff then
@@ -172,7 +173,7 @@ function HealBot_OnEvent_UnitAura(this, unit)
iconCount = iconCount + 1
HealBot_UnitIcons[unit][iconCount] = debuff
end
if HealBot_CDCInc[UnitClass(unit)] == 1 and HealBot_DebuffWatch[debuff_type] then
if HealBot_CDCInc[UnitClass(unit)] == 1 and debuff_type and HealBot_DebuffWatch[debuff_type] then
HealBot_UnitDebuff[unit] = debuff_type
DebuffType = debuff_type;
if HealBot_DebuffPriority[debuff_type] then
@@ -181,7 +182,6 @@ function HealBot_OnEvent_UnitAura(this, unit)
end
i = i + 1;
else
if i == 1 then HealBot_UnitDebuff[unit] = nil; end
break
end
end