Added Frostfire spec for fire mage (#936)

This commit is contained in:
achyles222
2025-02-03 12:48:41 +01:00
committed by GitHub
parent fef67081ec
commit 1c2ec60e6b
6 changed files with 93 additions and 1 deletions

View File

@@ -304,7 +304,16 @@ void AiFactory::AddDefaultCombatStrategies(Player* player, PlayerbotAI* const fa
if (tab == 0)
engine->addStrategiesNoInit("arcane", "arcane aoe", nullptr);
else if (tab == 1)
engine->addStrategiesNoInit("fire", "fire aoe", nullptr);
{
if (player->HasSpell(44614) /*Frostfire Bolt*/ && player->HasAura(15047) /*Ice Shards*/)
{
engine->addStrategiesNoInit("frostfire", "frostfire aoe", nullptr);
}
else
{
engine->addStrategiesNoInit("fire", "fire aoe", nullptr);
}
}
else
engine->addStrategiesNoInit("frost", "frost aoe", nullptr);