diff options
| author | Carbenium <carbenium@outlook.com> | 2015-04-19 23:37:29 +0200 |
|---|---|---|
| committer | Carbenium <carbenium@outlook.com> | 2015-04-21 00:52:21 +0200 |
| commit | bba6eb8d3dfe73a02063a7cefe6f465dae69334b (patch) | |
| tree | 16dbbcaab1bca43b281828fd20b12f2ce6441540 /src/server/game/World | |
| parent | 4208c0d8396e10dc806939e1d17885d16ff7b84e (diff) | |
Core/Player: Added character templates
* Characters with predefined levels can be created
* Avaiable factions and classes can be configured
* Valid values for `factionGroup` in table `character_template_class` are 3 (Alliance) or 5 (Horde)
* Added new permission RBAC_PERM_USE_CHARACTER_TEMPLATES - has to be set, to allow the usage of the templates
Closes #13952
Diffstat (limited to 'src/server/game/World')
| -rw-r--r-- | src/server/game/World/World.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp index 7010982dc2b..05f75358a7b 100644 --- a/src/server/game/World/World.cpp +++ b/src/server/game/World/World.cpp @@ -2028,6 +2028,9 @@ void World::SetInitialWorldSettings() TC_LOG_INFO("server.loading", "Loading race and class expansion requirements..."); sObjectMgr->LoadRaceAndClassExpansionRequirements(); + TC_LOG_INFO("server.loading", "Loading character templates..."); + sObjectMgr->LoadCharacterTemplates(); + TC_LOG_INFO("server.loading", "Loading realm names..."); sObjectMgr->LoadRealmNames(); |
