feat: refactor spell tooltip scanning and update version to 1.6.2

This commit is contained in:
Bluewhale1337
2026-07-24 20:22:49 +02:00
parent 4c9f50770a
commit faf040997e
3 changed files with 45 additions and 39 deletions
+6
View File
@@ -635,6 +635,9 @@ function HealBot_Action_PartyChanged()
else
for _, unit in ipairs(HealBot_Action_HealGroup) do
if not HealBot_Action_UnitButtons[unit] and HealBot_MayHeal(unit) then
local name = UnitName(unit) or "not known"
local class = UnitClass(unit) or "not known"
local subgroup = 1
if HealBot_Config.ExtraOrder == 1 then
order[unit] = name;
elseif HealBot_Config.ExtraOrder == 2 then
@@ -733,6 +736,9 @@ function HealBot_Action_PartyChanged()
else
for _, unit in ipairs(HealBot_Action_HealGroup) do
if not HealBot_Action_UnitButtons[unit] and HealBot_MayHeal(unit) then
local name = UnitName(unit) or "not known"
local class = UnitClass(unit) or "not known"
local subgroup = 1
if HealBot_Config.ExtraOrder == 1 then
order[unit] = name;
elseif HealBot_Config.ExtraOrder == 2 then