From e042e3b12b922c1f9f0ecf80b35d36d7e2a9fc4b Mon Sep 17 00:00:00 2001 From: bash <31279994+hermensbas@users.noreply.github.com> Date: Sat, 27 Sep 2025 22:55:52 +0200 Subject: [PATCH] Added shapeshift --- src/strategy/actions/NonCombatActions.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/strategy/actions/NonCombatActions.cpp b/src/strategy/actions/NonCombatActions.cpp index 98956f56..f7b5a26a 100644 --- a/src/strategy/actions/NonCombatActions.cpp +++ b/src/strategy/actions/NonCombatActions.cpp @@ -13,10 +13,12 @@ bool DrinkAction::Execute(Event event) if (bot->IsInCombat()) return false; - // Don't drink while mounted if (bot->IsMounted()) return false; + if (botAI->HasAnyAuraOf(GetTarget(), "dire bear form", "bear form", "cat form", "travel form", "aquatic form","flight form", "swift flight form", nullptr)) + return false; + if (botAI->HasCheat(BotCheatMask::food)) { // if (bot->IsNonMeleeSpellCast(true)) @@ -73,10 +75,12 @@ bool EatAction::Execute(Event event) if (bot->IsInCombat()) return false; - // Don't eat while mounted if (bot->IsMounted()) return false; + if (botAI->HasAnyAuraOf(GetTarget(), "dire bear form", "bear form", "cat form", "travel form", "aquatic form","flight form", "swift flight form", nullptr)) + return false; + if (botAI->HasCheat(BotCheatMask::food)) { // if (bot->IsNonMeleeSpellCast(true))