mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 10:50:24 +00:00
[Bots] Cleanup Bot Spell Functions, reduce reliance on NPC Functions/Attributes (#2495)
* [Bots] Initial Cleanup of Functions, moved Bot Casting out of mob_ai.cpp * Moved Bots off NPC AI_Spells Struct, and AI_Spells private attribute. * Formatting Fixes, fixed LogAI entries, Added LogAIModerate Alias * Add Constants. * Added Bot DB Struct, fixed some potential casting issues * Formatting * Formatting
This commit is contained in:
+2
-1
@@ -1874,7 +1874,8 @@ bool Zone::Depop(bool StartSpawnTimer) {
|
||||
|
||||
// clear spell cache
|
||||
database.ClearNPCSpells();
|
||||
|
||||
database.ClearBotSpells();
|
||||
|
||||
zone->spawn_group_list.ReloadSpawnGroups();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user