[Bots] Fix bots learning spells on level (#3744)

Previously bots would need to be zoned or camped/spawned to begin using new spells for their level.
This commit is contained in:
nytmyr authored and GitHub committed 2023-12-07 21:19:21 -05:00
1 parent 77045f558e
commit 16dc210cd8
1 file changed
+1
+1
View File
@@ -3641,6 +3641,7 @@ void Bot::LevelBotWithClient(Client* client, uint8 level, bool sendlvlapp) {
bot->SendLevelAppearance();
// modified from Client::SetLevel()
bot->SendAppearancePacket(AT_WhoLevel, level, true, true); // who level change
bot->AI_AddBotSpells(bot->GetBotSpellID());
}
}