Core/Creature: implement overriding creature static flags based on spawnId and difficultyId
Port From (https://github.com/TrinityCore/TrinityCore/commit/b5ce4a66df0c76583c662056e46619c8fe98f297)
This commit is contained in:
@@ -985,6 +985,9 @@ namespace Game
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Creature Text Locales...");
|
||||
Global.CreatureTextMgr.LoadCreatureTextLocales();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading creature StaticFlags overrides...");
|
||||
Global.ObjectMgr.LoadCreatureStaticFlagsOverride(); // must be after LoadCreatures
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Initializing Scripts...");
|
||||
Global.ScriptMgr.Initialize();
|
||||
Global.ScriptMgr.OnConfigLoad(false); // must be done after the ScriptMgr has been properly initialized
|
||||
|
||||
Reference in New Issue
Block a user