Update HealBot_Controller_Spells.lua

Hotfix: reimplemented missing helper function back.

Signed-off-by: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com>
This commit is contained in:
Bluewhale1337
2026-07-02 10:51:49 +02:00
committed by GitHub
parent dc50c9797f
commit 8b3355656e
+12
View File
@@ -640,3 +640,15 @@ function HealBot_Generic_Patten(matchStr, matchPattern)
end end
return tmpTest, _HealsMin, _HealsMax; return tmpTest, _HealsMin, _HealsMax;
end end
function HealBot_GetShapeshiftForm()
local forms = GetNumShapeshiftForms();
if forms then
local i;
for i=1,forms do
local icon,name,active = GetShapeshiftFormInfo(i);
if active and not string.find(icon,"HumanoidForm") then return i; end
end
end
return nil;
end