diff options
-rw-r--r-- | sql/updates/102_world.sql | 2 | ||||
-rw-r--r-- | sql/world.sql | 1 | ||||
-rw-r--r-- | src/game/GossipDef.cpp | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/sql/updates/102_world.sql b/sql/updates/102_world.sql new file mode 100644 index 00000000000..7f0940cd315 --- /dev/null +++ b/sql/updates/102_world.sql @@ -0,0 +1,2 @@ +ALTER TABLE `quest_template`
+ ADD `RewHonorableKills` mediumint(9) unsigned NOT NULL default '0' AFTER `RewRepValue5`;
diff --git a/sql/world.sql b/sql/world.sql index 2f9772636c4..924ef20df97 100644 --- a/sql/world.sql +++ b/sql/world.sql @@ -2682,6 +2682,7 @@ CREATE TABLE `quest_template` ( `RewRepValue3` mediumint(9) NOT NULL default '0', `RewRepValue4` mediumint(9) NOT NULL default '0', `RewRepValue5` mediumint(9) NOT NULL default '0', + `RewHonorableKills` mediumint(9) unsigned NOT NULL default '0', `RewOrReqMoney` int(11) NOT NULL default '0', `RewMoneyMaxLevel` int(10) unsigned NOT NULL default '0', `RewSpell` mediumint(8) unsigned NOT NULL default '0', diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp index 36388e159ab..c044b179938 100644 --- a/src/game/GossipDef.cpp +++ b/src/game/GossipDef.cpp @@ -467,7 +467,8 @@ void PlayerMenu::SendQuestGiverQuestDetails( Quest const *pQuest, uint64 npcGUID data << uint32(pQuest->GetRewOrReqMoney()); } - // rewarded honor points. Multiply with 10 to satisfy client data << uint32(pQuest->GetRewSpell()); // reward spell, this spell will display (icon) (casted if RewSpellCast==0) + // rewarded honor points. Multiply with 10 to satisfy client + data << uint32(pQuest->GetRewSpell()); // reward spell, this spell will display (icon) (casted if RewSpellCast==0) data << uint32(10*Trinity::Honor::hk_honor_at_level(pSession->GetPlayer()->getLevel(), pQuest->GetRewHonorableKills())); data << uint32(pQuest->GetRewSpellCast()); // casted spell data << uint32(pQuest->GetCharTitleId()); // CharTitleId, new 2.4.0, player gets this title (id from CharTitles) |