[9275] Quest reward data rearranged and comments added.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
BThallid 2010-01-31 19:15:20 +03:00 committed by VladimirMangos
parent 904995c024
commit cc7a53ae16
2 changed files with 6 additions and 6 deletions

View file

@ -754,8 +754,8 @@ void PlayerMenu::SendQuestGiverOfferReward( Quest const* pQuest, uint64 npcGUID,
data << uint32(0);
}
data << uint32(0);
data << uint32(pQuest->GetRewOrReqMoney());
data << uint32(pQuest->GetRewOrReqMoney()); // money
data << uint32(pQuest->XPValue(pSession->GetPlayer())); // xp
// rewarded honor points. Multiply with 10 to satisfy client
data << uint32(10*MaNGOS::Honor::hk_honor_at_level(pSession->GetPlayer()->getLevel(), pQuest->GetRewHonorableKills()));
@ -763,10 +763,10 @@ void PlayerMenu::SendQuestGiverOfferReward( Quest const* pQuest, uint64 npcGUID,
data << uint32(0x08); // unused by client?
data << uint32(pQuest->GetRewSpell()); // reward spell, this spell will display (icon) (casted if RewSpellCast==0)
data << uint32(pQuest->GetRewSpellCast()); // casted spell
data << uint32(0); // unknown
data << uint32(pQuest->GetCharTitleId()); // character title
data << uint32(pQuest->GetBonusTalents()); // bonus talents
data << uint32(0);
data << uint32(0);
data << uint32(0); // bonus arena points
data << uint32(0); // unknown
for(int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) // reward factions ids
data << uint32(0);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9274"
#define REVISION_NR "9275"
#endif // __REVISION_NR_H__