Core/Characters: Added allied race creation data, implemented intro scenes & added config option to disable achievement requirements for allied races
Port From (https://github.com/TrinityCore/TrinityCore/commit/71eb30f89dc5abeb33c7aa4a526073f769b5c7d1)
This commit is contained in:
@@ -381,6 +381,7 @@ namespace Game
|
||||
}
|
||||
|
||||
Values[WorldCfg.CharacterCreatingMinLevelForDemonHunter] = GetDefaultValue("CharacterCreating.MinLevelForDemonHunter", 0);
|
||||
Values[WorldCfg.CharacterCreatingDisableAlliedRaceAchievementRequirement] = GetDefaultValue("CharacterCreating.DisableAlliedRaceAchievementRequirement", false);
|
||||
|
||||
Values[WorldCfg.SkipCinematics] = GetDefaultValue("SkipCinematics", 0);
|
||||
if ((int)Values[WorldCfg.SkipCinematics] < 0 || (int)Values[WorldCfg.SkipCinematics] > 2)
|
||||
|
||||
@@ -724,6 +724,9 @@ namespace Game
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading linked spells...");
|
||||
Global.SpellMgr.LoadSpellLinked();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Scenes Templates..."); // must be before LoadPlayerInfo
|
||||
Global.ObjectMgr.LoadSceneTemplates();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Player Create Data...");
|
||||
Global.ObjectMgr.LoadPlayerInfo();
|
||||
|
||||
@@ -742,9 +745,6 @@ namespace Game
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Conversation Templates...");
|
||||
Global.ConversationDataStorage.LoadConversationTemplates();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Scenes Templates...");
|
||||
Global.ObjectMgr.LoadSceneTemplates();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Player Choices...");
|
||||
Global.ObjectMgr.LoadPlayerChoices();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user