mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 03:50:40 +00:00
[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:
@@ -3641,6 +3641,7 @@ void Bot::LevelBotWithClient(Client* client, uint8 level, bool sendlvlapp) {
|
|||||||
bot->SendLevelAppearance();
|
bot->SendLevelAppearance();
|
||||||
// modified from Client::SetLevel()
|
// modified from Client::SetLevel()
|
||||||
bot->SendAppearancePacket(AT_WhoLevel, level, true, true); // who level change
|
bot->SendAppearancePacket(AT_WhoLevel, level, true, true); // who level change
|
||||||
|
bot->AI_AddBotSpells(bot->GetBotSpellID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user