mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Removed mount action in "protect fc" + reduced support bot chance (#892)
This commit is contained in:
parent
1e9fd1607a
commit
f27624aa6e
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user