From 8b3355656ec36a9a03bf3c390602d790fa9d6fe0 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Thu, 2 Jul 2026 10:51:49 +0200 Subject: [PATCH] Update HealBot_Controller_Spells.lua Hotfix: reimplemented missing helper function back. Signed-off-by: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> --- HealBot_Controller_Spells.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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