aboutsummaryrefslogtreecommitdiff
path: root/src/game/QuestDef.cpp
diff options
context:
space:
mode:
authorKingPin <none@none>2008-10-22 07:02:05 -0500
committerKingPin <none@none>2008-10-22 07:02:05 -0500
commit14598dd84f489a31cf451aeadd1bfea82f9a1cd7 (patch)
treec3954d0871e76a2cdb244a178acf74e9678d092f /src/game/QuestDef.cpp
parentbde02d68298e31eb972ada39e5730786d629d32a (diff)
[svn] * Implement honor rewards from quests - Source Mangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/QuestDef.cpp')
-rw-r--r--src/game/QuestDef.cpp33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp
index 330e848212e..b003366978d 100644
--- a/src/game/QuestDef.cpp
+++ b/src/game/QuestDef.cpp
@@ -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;