Core/Quests: Calculate the RewardMoney value with QuestMoneyReward.dbc and defined an unknown field

This commit is contained in:
Kinzcool
2015-07-01 17:57:09 -04:00
parent 97b6933435
commit 4bbbd9540a
14 changed files with 44 additions and 21 deletions

View File

@@ -52,7 +52,7 @@ void BuildQuestReward(WorldPacket& data, Quest const* quest, Player* player)
{
uint8 rewCount = quest->GetRewItemsCount() + quest->GetRewCurrencyCount();
data << uint32(quest->GetRewMoney());
data << uint32(player->GetQuestMoneyReward(quest));
data << uint32(player->GetQuestXPReward(quest));
data << uint8(rewCount);
if (rewCount)