From 16dc210cd877d0f7895c2c2184d09b84077e4c9b Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Thu, 7 Dec 2023 20:19:21 -0600 Subject: [PATCH] [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. --- zone/bot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zone/bot.cpp b/zone/bot.cpp index d337d0c5d..cb52615c4 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -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()); } }