First pass for adding 'healer dps' check based on map ID.

This commit is contained in:
Spargel
2025-07-27 01:20:57 -05:00
parent 237c0cffc4
commit 64b09fd3ca
4 changed files with 29 additions and 1 deletions

View File

@@ -420,7 +420,8 @@ void AiFactory::AddDefaultCombatStrategies(Player* player, PlayerbotAI* const fa
{
if (sPlayerbotAIConfig->autoSaveMana)
engine->addStrategy("save mana", false);
engine->addStrategy("healer dps", false);
if (!sPlayerbotAIConfig->IsRestrictedHealerDPSMap(player->GetMapId()))
engine->addStrategy("healer dps", false);
}
if (facade->IsRealPlayer() || sRandomPlayerbotMgr->IsRandomBot(player))
{