mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
* [sql/updates/2008_10_22_01_mangos_quest_template.sql] Implemented honor rewards from quests
This commit is contained in:
parent
6892cc3d2c
commit
406ac0abe5
8 changed files with 45 additions and 48 deletions
|
|
@ -12047,6 +12047,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, MaNGOS::Honor::hk_honor_at_level(getLevel(), pQuest->GetRewHonorableKills()));
|
||||
|
||||
// title reward
|
||||
if(pQuest->GetCharTitleId())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue