Chanes: add test mode bars and options for UI testing and layout configuration

This commit is contained in:
Bluewhale1337
2026-10-08 16:16:19 +02:00
parent b298ad7047
commit 8050561733
18 changed files with 377 additions and 401 deletions
+6 -2
View File
@@ -567,10 +567,14 @@ end
-- HealBot_GetHealSpell: Resolves spell rank based on health deficit.
function HealBot_GetHealSpell(unit, pattern)
if (not UnitName(unit)) then return nil end;
if not string.find(unit, "^Test") then
if (not UnitName(unit)) then return nil end;
end
if not pattern then return nil end;
if UnitOnTaxi("player") then return nil end;
if HealBot_Config.ProtectPvP == 1 and UnitIsPVP(unit) and not UnitIsPVP("player") then return nil end
if not string.find(unit, "^Test") then
if HealBot_Config.ProtectPvP == 1 and UnitIsPVP(unit) and not UnitIsPVP("player") then return nil end
end
if HealBot_UnitClass("player") == "DRUID" then
if HealBot_GetShapeshiftForm() and HealBot_Config.AutoUnshift ~= 1 then return nil end;
end