Core/Quests: Implemented proper calculation of quest honor reward using DBC
Signed-off-by: Shauren <[email protected]>
This commit is contained in:
@@ -14694,10 +14694,8 @@ void Player::RewardQuest(Quest const *pQuest, uint32 reward, Object* questGiver,
|
||||
}
|
||||
|
||||
// honor reward
|
||||
if (pQuest->GetRewHonorAddition())
|
||||
RewardHonor(NULL, 0, pQuest->GetRewHonorAddition());
|
||||
if (pQuest->GetRewHonorMultiplier())
|
||||
RewardHonor(NULL, 0, Trinity::Honor::hk_honor_at_level(getLevel(), pQuest->GetRewHonorMultiplier()));
|
||||
if (uint32 honor = pQuest->CalculateHonorGain(getLevel()))
|
||||
RewardHonor(NULL, 0, honor);
|
||||
|
||||
// title reward
|
||||
if (pQuest->GetCharTitleId())
|
||||
|
||||
Reference in New Issue
Block a user