diff --git a/src/strategy/actions/NonCombatActions.cpp b/src/strategy/actions/NonCombatActions.cpp index d3c49dec..b696a27b 100644 --- a/src/strategy/actions/NonCombatActions.cpp +++ b/src/strategy/actions/NonCombatActions.cpp @@ -13,6 +13,10 @@ bool DrinkAction::Execute(Event event) if (bot->IsInCombat()) return false; + // Don't drink while mounted + if (bot->IsMounted()) + return false; + bool hasMana = AI_VALUE2(bool, "has mana", "self target"); if (!hasMana) return false; @@ -66,6 +70,10 @@ bool EatAction::Execute(Event event) if (bot->IsInCombat()) return false; + // Don't eat while mounted + if (bot->IsMounted()) + return false; + if (botAI->HasCheat(BotCheatMask::food)) { // if (bot->IsNonMeleeSpellCast(true))