mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
[svn] Add missing SQL changes from prev. commit, also fix mistakenly commented out line. Patch provided by Visagalis.
--HG-- branch : trunk
This commit is contained in:
2
sql/updates/102_world.sql
Normal file
2
sql/updates/102_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `quest_template`
|
||||
ADD `RewHonorableKills` mediumint(9) unsigned NOT NULL default '0' AFTER `RewRepValue5`;
|
||||
@@ -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',
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user