aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index e7179ecf444..a5c377edcf3 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -14073,6 +14073,9 @@ void Player::RewardQuest( Quest const *pQuest, uint32 reward, Object* questGiver
InitTalentForLevel();
}
+ if (pQuest->GetRewArenaPoints())
+ ModifyArenaPoints(pQuest->GetRewArenaPoints());
+
// Send reward mail
if (uint32 mail_template_id = pQuest->GetRewMailTemplateId())
MailDraft(mail_template_id).SendMailTo(this, questGiver, MAIL_CHECK_MASK_NONE, pQuest->GetRewMailDelaySecs());
@@ -15190,7 +15193,7 @@ void Player::SendQuestReward( Quest const *pQuest, uint32 XP, Object * questGive
data << uint32(10*Trinity::Honor::hk_honor_at_level(getLevel(), pQuest->GetRewHonorableKills()));
data << uint32(pQuest->GetBonusTalents()); // bonus talents
- data << uint32(0);
+ data << uint32(pQuest->GetRewArenaPoints());
GetSession()->SendPacket( &data );
if (pQuest->GetQuestCompleteScript() != 0)