Add config option for DK Starting Progression

This commit is contained in:
郑佩茹
2022-09-19 16:44:33 -06:00
parent 012866d6f1
commit 27623d0b41
4 changed files with 16 additions and 2 deletions

View File

@@ -3,7 +3,6 @@
*/
#include "IndividualProgression.h"
#include "Tokenize.h"
IndividualProgression* IndividualProgression::instance()
{
@@ -235,6 +234,7 @@ private:
sIndividualProgression->repeatableVanillaQuestsXp = sConfigMgr->GetOption<bool>("IndividualProgression.RepeatableVanillaQuestsXP", true);
sIndividualProgression->tbcRacesProgressionLevel = sConfigMgr->GetOption<uint8>("IndividualProgression.TbcRacesUnlockProgression", 0);
sIndividualProgression->deathKnightProgressionLevel = sConfigMgr->GetOption<uint8>("IndividualProgression.DeathKnightUnlockProgression", 11);
sIndividualProgression->deathKnightStartingProgression = sConfigMgr->GetOption<uint8>("IndividualProgression.DeathKnightStartingProgression", 11);
}
static void LoadXpValues()