mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 09:44:44 +00:00
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:
@@ -640,3 +640,15 @@ function HealBot_Generic_Patten(matchStr, matchPattern)
|
||||
end
|
||||
return tmpTest, _HealsMin, _HealsMax;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user