[svn] * Implement honor rewards from quests - Source Mangos

--HG--
branch : trunk
This commit is contained in:
KingPin
2008-10-22 07:02:05 -05:00
parent bde02d6829
commit 14598dd84f
7 changed files with 43 additions and 50 deletions
+4
View File
@@ -12376,6 +12376,10 @@ void Player::RewardQuest( Quest const *pQuest, uint32 reward, Object* questGiver
// Give player extra money if GetRewOrReqMoney > 0 and get ReqMoney if negative
ModifyMoney( pQuest->GetRewOrReqMoney() );
// honor reward
if(pQuest->GetRewHonorableKills())
RewardHonor(NULL, 0, Trinity::Honor::hk_honor_at_level(getLevel(), pQuest->GetRewHonorableKills()));
// title reward
if(pQuest->GetCharTitleId())
{