Keep bear strategy for bear druid in bg

This commit is contained in:
Yunfan Li
2024-08-31 23:45:24 +08:00
parent a63fbb3b5f
commit 3d1920675b
2 changed files with 6 additions and 6 deletions

View File

@@ -1183,9 +1183,9 @@ AiPlayerbot.RandomClassSpecIndex.9.2 = 2
AiPlayerbot.RandomClassSpecProb.11.0 = 20 AiPlayerbot.RandomClassSpecProb.11.0 = 20
AiPlayerbot.RandomClassSpecIndex.11.0 = 0 AiPlayerbot.RandomClassSpecIndex.11.0 = 0
AiPlayerbot.RandomClassSpecProb.11.1 = 30 AiPlayerbot.RandomClassSpecProb.11.1 = 25
AiPlayerbot.RandomClassSpecIndex.11.1 = 1 AiPlayerbot.RandomClassSpecIndex.11.1 = 1
AiPlayerbot.RandomClassSpecProb.11.2 = 30 AiPlayerbot.RandomClassSpecProb.11.2 = 35
AiPlayerbot.RandomClassSpecIndex.11.2 = 2 AiPlayerbot.RandomClassSpecIndex.11.2 = 2
AiPlayerbot.RandomClassSpecProb.11.3 = 20 AiPlayerbot.RandomClassSpecProb.11.3 = 20
AiPlayerbot.RandomClassSpecIndex.11.3 = 3 AiPlayerbot.RandomClassSpecIndex.11.3 = 3

View File

@@ -480,11 +480,11 @@ void AiFactory::AddDefaultCombatStrategies(Player* player, PlayerbotAI* const fa
if ((player->getClass() == CLASS_DRUID && tab == 2) || (player->getClass() == CLASS_SHAMAN && tab == 2)) if ((player->getClass() == CLASS_DRUID && tab == 2) || (player->getClass() == CLASS_SHAMAN && tab == 2))
engine->addStrategiesNoInit("caster", "caster aoe", nullptr); engine->addStrategiesNoInit("caster", "caster aoe", nullptr);
if (player->getClass() == CLASS_DRUID && tab == 1) // if (player->getClass() == CLASS_DRUID && tab == 1)
engine->addStrategiesNoInit(/*"behind",*/ "dps", nullptr); // engine->addStrategiesNoInit(/*"behind",*/ "dps", nullptr);
if (player->getClass() == CLASS_ROGUE) // if (player->getClass() == CLASS_ROGUE)
engine->addStrategiesNoInit(/*"behind",*/ "stealth", nullptr); // engine->addStrategiesNoInit(/*"behind",*/ "stealth", nullptr);
} }
} }