diff --git a/HealBot_Controller_Spells.lua b/HealBot_Controller_Spells.lua index c1225bd..44a00e3 100644 --- a/HealBot_Controller_Spells.lua +++ b/HealBot_Controller_Spells.lua @@ -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