mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
feat(Core/Quests): Implemented quest_money_rewards (for quest with Qu… (#8610)
Fixes #8440
This commit is contained in:
@@ -205,7 +205,7 @@ void WorldSession::HandleLfgPlayerLockInfoRequestOpcode(WorldPacket& /*recvData*
|
||||
if (quest)
|
||||
{
|
||||
data << uint8(done);
|
||||
data << uint32(quest->GetRewOrReqMoney());
|
||||
data << uint32(quest->GetRewOrReqMoney(GetPlayer()));
|
||||
data << uint32(quest->XPValue(GetPlayer()));
|
||||
data << uint32(0);
|
||||
data << uint32(0);
|
||||
@@ -496,7 +496,7 @@ void WorldSession::SendLfgPlayerReward(lfg::LfgPlayerRewardData const& rewardDat
|
||||
data << uint32(rewardData.sdungeonEntry); // Dungeon Finished
|
||||
data << uint8(rewardData.done);
|
||||
data << uint32(1);
|
||||
data << uint32(rewardData.quest->GetRewOrReqMoney());
|
||||
data << uint32(rewardData.quest->GetRewOrReqMoney(GetPlayer()));
|
||||
data << uint32(rewardData.quest->XPValue(GetPlayer()));
|
||||
data << uint32(0);
|
||||
data << uint32(0);
|
||||
|
||||
Reference in New Issue
Block a user