fix(Core/Player): Give Death Knight's twenty silver on character creation (#12974)

* Make sacrifices to workflow god
Best note ever ^^
This commit is contained in:
Benjamin Jackson
2022-09-21 07:32:33 -04:00
committed by GitHub
parent fd08f6150f
commit 6a357da28c
4 changed files with 19 additions and 1 deletions

View File

@@ -569,7 +569,9 @@ bool Player::Create(ObjectGuid::LowType guidlow, CharacterCreateInfo* createInfo
InitRunes();
SetUInt32Value(PLAYER_FIELD_COINAGE, sWorld->getIntConfig(CONFIG_START_PLAYER_MONEY));
SetUInt32Value(PLAYER_FIELD_COINAGE, getClass() != CLASS_DEATH_KNIGHT
? sWorld->getIntConfig(CONFIG_START_PLAYER_MONEY)
: sWorld->getIntConfig(CONFIG_START_HEROIC_PLAYER_MONEY));
SetHonorPoints(sWorld->getIntConfig(CONFIG_START_HONOR_POINTS));
SetArenaPoints(sWorld->getIntConfig(CONFIG_START_ARENA_POINTS));