mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-09-11 09:50:21 +00:00
fix: prevent shapeshift cancellation while in Tree of Life or Healing Way forms
This commit is contained in:
@@ -873,7 +873,7 @@ function HealBot_GetShapeshiftForm()
|
|||||||
local icon,name,active = GetShapeshiftFormInfo(i);
|
local icon,name,active = GetShapeshiftFormInfo(i);
|
||||||
if active then
|
if active then
|
||||||
-- Do not unshift from Tree of Life form
|
-- 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;
|
return nil;
|
||||||
end
|
end
|
||||||
return i;
|
return i;
|
||||||
|
|||||||
Reference in New Issue
Block a user