From 00a1ddf789847811285bf81486a3fdd079e7c9b8 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Wed, 9 Sep 2026 17:32:38 +0200 Subject: [PATCH] fix: prevent accidental unshifting while in Tree of Life or Healing Way forms --- HealBot_Controller_Spells.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HealBot_Controller_Spells.lua b/HealBot_Controller_Spells.lua index b05015b..0ee9d6c 100644 --- a/HealBot_Controller_Spells.lua +++ b/HealBot_Controller_Spells.lua @@ -870,9 +870,14 @@ function HealBot_GetShapeshiftForm() for i=1,forms do local icon,name,active = GetShapeshiftFormInfo(i); if active then + -- Do not unshift from Tree of Life form + if icon and (string.find(string.lower(icon), "treeoflife") or string.find(string.lower(icon), "healingway")) then + return nil; + end return i; end end end return nil; end +