mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Quests: Calculate the RewardMoney value with QuestMoneyReward.dbc and defined an unknown field
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user