[11827] Implement Creature Linking via database

Thanks to Silverice for feedback!

This system interprets the content of the table `creature_linking_template`. To trigger different actions on different events of the npcs that are linked together.
Possible event/ action combinations can be taken form the flags in CreatureLinkingMgr.h::CreatureLinkingFlags
This commit is contained in:
Schmoozerd 2011-10-16 12:49:26 +02:00
parent 6edfcea7f0
commit fbdd79141c
16 changed files with 783 additions and 7 deletions

View file

@ -63,6 +63,7 @@
#include "Util.h"
#include "AuctionHouseBot/AuctionHouseBot.h"
#include "CharacterDatabaseCleaner.h"
#include "CreatureLinkingMgr.h"
INSTANTIATE_SINGLETON_1( World );
@ -1067,6 +1068,9 @@ void World::SetInitialWorldSettings()
sLog.outString( "Loading Gameobject Addon Data..." );
sObjectMgr.LoadGameObjectAddon();
sLog.outString( "Loading CreatureLinking Data..." ); // must be after Creatures
sCreatureLinkingMgr.LoadFromDB();
sLog.outString( "Loading Objects Pooling Data...");
sPoolMgr.LoadFromDB();