mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Removed mount action in "protect fc" + reduced support bot chance (#892)
This commit is contained in:
@@ -2234,12 +2234,8 @@ bool BGTactics::Execute(Event event)
|
|||||||
|
|
||||||
if (getName() == "protect fc")
|
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();
|
uint32 role = context->GetValue<uint32>("bg role")->Get();
|
||||||
bool supporter = role < 5;
|
bool supporter = role < 4;
|
||||||
if (supporter && protectFC())
|
if (supporter && protectFC())
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user