Feat: added customizable unit frame health text and support for non-mana resource tracking

This commit is contained in:
Bluewhale1337
2026-07-10 17:08:50 +02:00
parent 7eb07d724e
commit becb2ddfdb
7 changed files with 137 additions and 11 deletions
+24 -2
View File
@@ -102,7 +102,7 @@
</OnLoad>
</Scripts>
<Size>
<AbsDimension y="70"/>
<AbsDimension y="95"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
@@ -156,7 +156,7 @@
<Anchors>
<Anchor point="TOPLEFT" relativeTo="HealBot_Options_ShowManaBars" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="200" y="0" />
<AbsDimension x="180" y="0" />
</Offset>
</Anchor>
</Anchors>
@@ -174,6 +174,28 @@
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="HealBot_Options_ShowNonManaBars" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="HealBot_Options_ShowManaBars" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Track Non-Mana Resources");
</OnLoad>
<OnClick>
if (this:GetChecked()) then
HealBot_Config.ShowNonManaBars = 1;
else
HealBot_Config.ShowNonManaBars = 0;
end
HealBot_Action_Refresh();
</OnClick>
</Scripts>
</CheckButton>
</Frames>
</Frame>