[Bots] Move commanded spell map to zone (#4755)

- Moves the mapping of commanded spell min levels to zone rather than to each individual bot.
- Adds support for sub spell types.
This commit is contained in:
nytmyr
2025-03-06 16:05:36 -06:00
committed by GitHub
parent 94553501ba
commit 1d4ba082ad
7 changed files with 90 additions and 64 deletions
-2
View File
@@ -3741,8 +3741,6 @@ bool Bot::Spawn(Client* botCharacterOwner) {
}
}
MapSpellTypeLevels();
if (RuleB(Bots, RunSpellTypeChecksOnSpawn)) {
OwnerMessage("Running SpellType checks. There may be some spells that are mislabeled as incorrect. Use this as a loose guideline.");
CheckBotSpells(); //This runs through a series of checks and outputs any spells that are set to the wrong spell type in the database