Add judgement for paladins

This commit is contained in:
郑佩茹
2023-03-23 12:30:50 -06:00
parent 53395b64ed
commit ffaf9d9071

View File

@@ -1789,6 +1789,8 @@ void PlayerbotFactory::InitAvailableSpells()
bot->learnSpell(tSpell->spell);
}
}
if (bot->IsSpellFitByClassAndRace(20271) && !bot->HasSpell(20271)) // judgement missing
bot->learnSpell(20271, false);
}
void PlayerbotFactory::InitSpecialSpells()