Added shapeshift

This commit is contained in:
bash
2025-09-27 22:55:52 +02:00
committed by GitHub
parent 3228667121
commit e042e3b12b

View File

@@ -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))