mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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
|
|
@ -101,28 +101,29 @@ Quest::Quest(Field * questRecord)
|
|||
for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i)
|
||||
RewRepValue[i] = questRecord[94+i].GetInt32();
|
||||
|
||||
RewOrReqMoney = questRecord[99].GetInt32();
|
||||
RewMoneyMaxLevel = questRecord[100].GetUInt32();
|
||||
RewSpell = questRecord[101].GetUInt32();
|
||||
RewSpellCast = questRecord[102].GetUInt32();
|
||||
RewMailTemplateId = questRecord[103].GetUInt32();
|
||||
RewMailDelaySecs = questRecord[104].GetUInt32();
|
||||
PointMapId = questRecord[105].GetUInt32();
|
||||
PointX = questRecord[106].GetFloat();
|
||||
PointY = questRecord[107].GetFloat();
|
||||
PointOpt = questRecord[108].GetUInt32();
|
||||
RewHonorableKills = questRecord[99].GetUInt32();
|
||||
RewOrReqMoney = questRecord[100].GetInt32();
|
||||
RewMoneyMaxLevel = questRecord[101].GetUInt32();
|
||||
RewSpell = questRecord[102].GetUInt32();
|
||||
RewSpellCast = questRecord[103].GetUInt32();
|
||||
RewMailTemplateId = questRecord[104].GetUInt32();
|
||||
RewMailDelaySecs = questRecord[105].GetUInt32();
|
||||
PointMapId = questRecord[106].GetUInt32();
|
||||
PointX = questRecord[107].GetFloat();
|
||||
PointY = questRecord[108].GetFloat();
|
||||
PointOpt = questRecord[109].GetUInt32();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
DetailsEmote[i] = questRecord[109+i].GetUInt32();
|
||||
DetailsEmote[i] = questRecord[110+i].GetUInt32();
|
||||
|
||||
IncompleteEmote = questRecord[113].GetUInt32();
|
||||
CompleteEmote = questRecord[114].GetUInt32();
|
||||
IncompleteEmote = questRecord[114].GetUInt32();
|
||||
CompleteEmote = questRecord[115].GetUInt32();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
OfferRewardEmote[i] = questRecord[115+i].GetInt32();
|
||||
OfferRewardEmote[i] = questRecord[116+i].GetInt32();
|
||||
|
||||
QuestStartScript = questRecord[119].GetUInt32();
|
||||
QuestCompleteScript = questRecord[120].GetUInt32();
|
||||
QuestStartScript = questRecord[120].GetUInt32();
|
||||
QuestCompleteScript = questRecord[121].GetUInt32();
|
||||
|
||||
QuestFlags |= SpecialFlags << 16;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue