Removed mount action in "protect fc" + reduced support bot chance (#892)

This commit is contained in:
avirar
2025-01-23 21:42:31 +11:00
committed by GitHub
parent 1e9fd1607a
commit f27624aa6e

View File

@@ -2234,12 +2234,8 @@ bool BGTactics::Execute(Event event)
if (getName() == "protect fc")
{
if (!bot->IsMounted() && !bot->IsInCombat())
if (botAI->DoSpecificAction("check mount state"))
return true;
uint32 role = context->GetValue<uint32>("bg role")->Get();
bool supporter = role < 5;
bool supporter = role < 4;
if (supporter && protectFC())
return true;
}