mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10719] Implement proper calculation quest honor reward.
Now server side rewar same as reported at client side. Also thanks to KiriX for patch prepering to commit and testing. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
c9dacb9940
commit
ff66e20468
8 changed files with 37 additions and 4 deletions
|
|
@ -13696,8 +13696,8 @@ void Player::RewardQuest(Quest const *pQuest, uint32 reward, Object* questGiver,
|
|||
}
|
||||
|
||||
// honor reward
|
||||
if (pQuest->GetRewHonorAddition())
|
||||
RewardHonor(NULL, 0, MaNGOS::Honor::hk_honor_at_level(getLevel(), pQuest->GetRewHonorAddition()));
|
||||
if (uint32 honor = pQuest->CalculateRewardHonor(getLevel()))
|
||||
RewardHonor(NULL, 0, honor);
|
||||
|
||||
// title reward
|
||||
if (pQuest->GetCharTitleId())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue