[svn] * Implement honor rewards from quests - Source Mangos
--HG-- branch : trunk
This commit is contained in:
1 parent
bde02d6829
commit
14598dd84f
7 files changed
+43
-50
No files matched your search
+17
-16
@@ -103,28 +103,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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user