mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7622] Added creatureAI with related database tables.
Code and concept (also known as EventAI) by ScriptDev2. Note: database table layout are compatible with original db-scripts.
This commit is contained in:
parent
d6223e18f5
commit
6bb6ff0f7e
19 changed files with 2936 additions and 2 deletions
|
|
@ -38,6 +38,7 @@
|
|||
#include "AchievementMgr.h"
|
||||
#include "AuctionHouseMgr.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "CreatureEventAIMgr.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "Chat.h"
|
||||
#include "DBCStores.h"
|
||||
|
|
@ -1339,6 +1340,15 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading Scripts text locales..." ); // must be after Load*Scripts calls
|
||||
objmgr.LoadDbScriptStrings();
|
||||
|
||||
sLog.outString( "Loading CreatureEventAI Texts...");
|
||||
CreatureEAI_Mgr.LoadCreatureEventAI_Texts();
|
||||
|
||||
sLog.outString( "Loading CreatureEventAI Summons...");
|
||||
CreatureEAI_Mgr.LoadCreatureEventAI_Summons();
|
||||
|
||||
sLog.outString( "Loading CreatureEventAI Scripts...");
|
||||
CreatureEAI_Mgr.LoadCreatureEventAI_Scripts();
|
||||
|
||||
sLog.outString( "Initializing Scripts..." );
|
||||
if(!LoadScriptingModule())
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue