diff options
author | Machiavelli <none@none> | 2010-03-27 15:10:26 +0100 |
---|---|---|
committer | Machiavelli <none@none> | 2010-03-27 15:10:26 +0100 |
commit | b9927ca559e02400d34164f7f31686fc4af1043b (patch) | |
tree | dc44cd9b63e9d4c8658211adb7da5ba4cd64849a /src/game/GossipDef.cpp | |
parent | 9ce6094dce579c328a51a5dd19deb85ab88e9c88 (diff) |
Implement usage of RewardArenaPoints field in quest_template
--HG--
branch : trunk
Diffstat (limited to 'src/game/GossipDef.cpp')
-rw-r--r-- | src/game/GossipDef.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp index 67a5e8388cb..377e7ae60e9 100644 --- a/src/game/GossipDef.cpp +++ b/src/game/GossipDef.cpp @@ -511,13 +511,13 @@ void PlayerMenu::SendQuestGiverQuestDetails( Quest const *pQuest, uint64 npcGUID data << uint32(0); // rewarded honor points. Multiply with 10 to satisfy client data << uint32(10*Trinity::Honor::hk_honor_at_level(pSession->GetPlayer()->getLevel(), pQuest->GetRewHonorableKills())); - data << float(0); // new 3.3.0 + data << float(0); // new 3.3.0, honor multiplier? data << uint32(pQuest->GetRewSpell()); // reward spell, this spell will display (icon) (casted if RewSpellCast==0) data << int32(pQuest->GetRewSpellCast()); // casted spell data << uint32(pQuest->GetCharTitleId()); // CharTitleId, new 2.4.0, player gets this title (id from CharTitles) data << uint32(pQuest->GetBonusTalents()); // bonus talents - data << uint32(0); - data << uint32(0); + data << uint32(pQuest->GetRewArenaPoints()); // reward arena points + data << uint32(0); // unk for(int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) data << uint32(pQuest->RewRepFaction[i]); @@ -611,7 +611,7 @@ void PlayerMenu::SendQuestQueryResponse( Quest const *pQuest ) data << uint32(pQuest->GetCharTitleId()); // CharTitleId, new 2.4.0, player gets this title (id from CharTitles) data << uint32(pQuest->GetPlayersSlain()); // players slain data << uint32(pQuest->GetBonusTalents()); // bonus talents - data << uint32(0); // bonus arena points + data << uint32(pQuest->GetRewArenaPoints()); // bonus arena points data << uint32(0); // unknown int iI; @@ -763,13 +763,13 @@ void PlayerMenu::SendQuestGiverOfferReward( Quest const* pQuest, uint64 npcGUID, // rewarded honor points. Multiply with 10 to satisfy client data << uint32(10*Trinity::Honor::hk_honor_at_level(pSession->GetPlayer()->getLevel(), pQuest->GetRewHonorableKills())); - data << float(0); + data << float(0); // unk, honor multiplier? data << uint32(0x08); // unused by client? data << uint32(pQuest->GetRewSpell()); // reward spell, this spell will display (icon) (casted if RewSpellCast==0) data << int32(pQuest->GetRewSpellCast()); // casted spell data << uint32(0); // unknown data << uint32(pQuest->GetBonusTalents()); // bonus talents - data << uint32(0); + data << uint32(pQuest->GetRewArenaPoints()); // arena points data << uint32(0); for(int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) // reward factions ids |