mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[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:
parent
6edfcea7f0
commit
fbdd79141c
16 changed files with 783 additions and 7 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue