mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 01:34:44 +00:00
Commit 2
Added a native Action Bar Hovercasting (Mouseover) engine. You can now cast spells on hovered targets using action bar keybinds without losing your current target. Togglable in Options -> General. Added Fear Ward to the global HoT tracker, which will display the icon directly on the unit frame. Fixed Shaman weapon buff tracking (e.g., Rockbiter) failing due to spell ranks in tooltips. Fixed missing health bar skin textures by ensuring `.tga` paths are explicitly resolved. ixed division-by-zero math errors during UI scaling that caused the addon to crash. Signed-off-by: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com>
This commit is contained in:
@@ -342,6 +342,14 @@ function HealBot_Options_PanelSounds_OnClick(this)
|
||||
HealBot_Config.PanelSounds = this:GetChecked() or 0;
|
||||
end
|
||||
|
||||
function HealBot_Options_ActionMouseover_OnLoad(this, text)
|
||||
getglobal(this:GetName().."Text"):SetText(text);
|
||||
end
|
||||
|
||||
function HealBot_Options_ActionMouseover_OnClick(this)
|
||||
HealBot_Config.ActionMouseover = this:GetChecked() or 0;
|
||||
end
|
||||
|
||||
|
||||
function HealBot_Options_ActionLocked_OnLoad(this)
|
||||
getglobal(this:GetName().."Text"):SetText(HEALBOT_OPTIONS_ACTIONLOCKED);
|
||||
@@ -1380,6 +1388,9 @@ function HealBot_Options_OnShow(this)
|
||||
HealBot_Options_AlertLevel:SetValue(HealBot_Config.AlertLevel);
|
||||
HealBot_Options_AutoShow:SetChecked(HealBot_Config.AutoClose);
|
||||
HealBot_Options_PanelSounds:SetChecked(HealBot_Config.PanelSounds);
|
||||
|
||||
if HealBot_Config.ActionMouseover == nil then HealBot_Config.ActionMouseover = 1; end
|
||||
HealBot_Options_ActionMouseover:SetChecked(HealBot_Config.ActionMouseover);
|
||||
HealBot_Options_GroupHeals:SetChecked(HealBot_Config.GroupHeals);
|
||||
if CT_RA_MainTanks then
|
||||
HealBot_Options_TankHeals:SetChecked(HealBot_Config.TankHeals);
|
||||
|
||||
Reference in New Issue
Block a user