mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10867] Implement templates for trainer spell data in npc_trainer_template.
New table let avoid duplication similar trainer spells for different trainers.
This commit is contained in:
parent
f228a1c08d
commit
1d8f222621
15 changed files with 229 additions and 77 deletions
|
|
@ -1166,7 +1166,8 @@ void World::SetInitialWorldSettings()
|
|||
sObjectMgr.LoadVendors(); // must be after load CreatureTemplate, VendorTemplate, and ItemTemplate
|
||||
|
||||
sLog.outString( "Loading Trainers..." );
|
||||
sObjectMgr.LoadTrainerSpell(); // must be after load CreatureTemplate
|
||||
sObjectMgr.LoadTrainerTemplates(); // must be after load CreatureTemplate
|
||||
sObjectMgr.LoadTrainers(); // must be after load CreatureTemplate, TrainerTemplate
|
||||
|
||||
sLog.outString( "Loading Waypoint scripts..." ); // before loading from creature_movement
|
||||
sObjectMgr.LoadCreatureMovementScripts();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue