aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Quests/QuestDef.cpp
diff options
context:
space:
mode:
authorPolarCookie <sei009@post.uit.no>2019-04-10 12:58:40 +0200
committerGiacomo Pozzoni <giacomopoz@gmail.com>2019-04-10 12:58:40 +0200
commit5ed77113b637c49e99a610b00f385c51da67c3bf (patch)
tree8d65d995762acb0d58590d5da17e234a5a7c0ce3 /src/server/game/Quests/QuestDef.cpp
parent9b3b56f60cc3553d6edcc422b04ee42a4b55678f (diff)
Core support for breadcrumb quests (#23157)
* Breadcrumb quests support in core * To Winterspring! & Starfall * translating ZenoX92's list, part 1 * Carendin Summons is Blood Elf only * Breadcrumb to an exclusive group * translating ZenoX92's list, part 2 * class quests * breadcrumb trails * better prevquest check * less harsh error warnings * minor optimization * Rename 9999_99_99_99_world.sql to 2019_04_10_00_world.sql
Diffstat (limited to 'src/server/game/Quests/QuestDef.cpp')
-rw-r--r--src/server/game/Quests/QuestDef.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp
index 8eda8a40337..684f1b37f56 100644
--- a/src/server/game/Quests/QuestDef.cpp
+++ b/src/server/game/Quests/QuestDef.cpp
@@ -178,16 +178,17 @@ void Quest::LoadQuestTemplateAddon(Field* fields)
_prevQuestId = fields[4].GetInt32();
_nextQuestId = fields[5].GetUInt32();
_exclusiveGroup = fields[6].GetInt32();
- _rewardMailTemplateId = fields[7].GetUInt32();
- _rewardMailDelay = fields[8].GetUInt32();
- _requiredSkillId = fields[9].GetUInt16();
- _requiredSkillPoints = fields[10].GetUInt16();
- _requiredMinRepFaction = fields[11].GetUInt16();
- _requiredMaxRepFaction = fields[12].GetUInt16();
- _requiredMinRepValue = fields[13].GetInt32();
- _requiredMaxRepValue = fields[14].GetInt32();
- _startItemCount = fields[15].GetUInt8();
- _specialFlags = fields[16].GetUInt8();
+ _breadcrumbForQuestId = fields[7].GetInt32();
+ _rewardMailTemplateId = fields[8].GetUInt32();
+ _rewardMailDelay = fields[9].GetUInt32();
+ _requiredSkillId = fields[10].GetUInt16();
+ _requiredSkillPoints = fields[11].GetUInt16();
+ _requiredMinRepFaction = fields[12].GetUInt16();
+ _requiredMaxRepFaction = fields[13].GetUInt16();
+ _requiredMinRepValue = fields[14].GetInt32();
+ _requiredMaxRepValue = fields[15].GetInt32();
+ _startItemCount = fields[16].GetUInt8();
+ _specialFlags = fields[17].GetUInt8();
if (_specialFlags & QUEST_SPECIAL_FLAGS_AUTO_ACCEPT)
_flags |= QUEST_FLAGS_AUTO_ACCEPT;