fixed bot endlessly resetting strats in nagrand and blades edge

This commit is contained in:
Fuzz
2024-07-04 19:04:08 +10:00
parent 718f90c4e9
commit ed14afc2f6

View File

@@ -637,7 +637,7 @@ void AiFactory::AddDefaultNonCombatStrategies(Player* player, PlayerbotAI* const
if (bgType == BATTLEGROUND_RB) if (bgType == BATTLEGROUND_RB)
bgType = player->GetBattleground()->GetBgTypeID(true); bgType = player->GetBattleground()->GetBgTypeID(true);
if (bgType <= BATTLEGROUND_EY || bgType == BATTLEGROUND_IC) // do not add for not supported bg if ((bgType <= BATTLEGROUND_EY || bgType == BATTLEGROUND_IC) && !player->InArena()) // do not add for not supported bg or arena
nonCombatEngine->addStrategy("battleground"); nonCombatEngine->addStrategy("battleground");
if (bgType == BATTLEGROUND_WS) if (bgType == BATTLEGROUND_WS)