From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/quest_objectives.md | 306 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 306 insertions(+) create mode 100644 docs/quest_objectives.md (limited to 'docs/quest_objectives.md') diff --git a/docs/quest_objectives.md b/docs/quest_objectives.md new file mode 100644 index 0000000..53ae893 --- /dev/null +++ b/docs/quest_objectives.md @@ -0,0 +1,306 @@ +# quest\_objectives + +`Back-to:World` + +Table: quest\_objectives + +This table provides answer for a very important question. What do I need to do in order to finish a quest? + +## Structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Null

Key

Default

Comment

ID

mediumint(8)

unsigned

NOPRI0


+

QuestID

mediumint(8)unsigned

NO


+

0


+

Type

tinyint(3)

unsignedNO


+

0


+

StorageIndex

tinyint(3)signedNO


+

0


+

ObjectID

int(10)

signedNO
+
0


+

Amount

int(10)

signedNO
+
0
+
Flagsint(10)unsignedNO
+
0
+
Flags2int(10)unsignedNO
+
0
+
ProgressBarWeightfloat
+
NO
+
0
+
Descriptiontext
+
YES
+
NULL
+
VerifiedBuildsmallint(5)signedNO
+
0
+
+ +## Description of the fields + +### ID + +Unique ObjectiveId + +### QuestID + +The Quest Id from quest\_template.id + +### Type + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeIDObjectID
QUEST_OBJECTIVE_MONSTER0creature_template.entry
QUEST_OBJECTIVE_ITEM1itemID from Item.db2
QUEST_OBJECTIVE_GAMEOBJECT2gameobject_template.entry
QUEST_OBJECTIVE_TALKTO3creature_template.entry
QUEST_OBJECTIVE_CURRENCY4
+
QUEST_OBJECTIVE_LEARNSPELL5SpellId Spell.db2
QUEST_OBJECTIVE_MIN_REPUTATION6Faction
QUEST_OBJECTIVE_MAX_REPUTATION7Faction
QUEST_OBJECTIVE_MONEY8Money
QUEST_OBJECTIVE_PLAYERKILLS9
+
QUEST_OBJECTIVE_AREATRIGGER10
+
QUEST_OBJECTIVE_WINPETBATTLEAGAINSTNPC11
+
QUEST_OBJECTIVE_DEFEATBATTLEPET12
+
QUEST_OBJECTIVE_WINPVPPETBATTLES13
+
QUEST_OBJECTIVE_CRITERIA_TREE14
+
QUEST_OBJECTIVE_PROGRESS_BAR15
+
QUEST_OBJECTIVE_HAVE_CURRENCY16
+
QUEST_OBJECTIVE_OBTAIN_CURRENCY17
+
+ +### StorageIndex + +### ObjectID + +See above + +### Amount + +Displays how much players you need to kill before completing the quest. + +### Flags + +This flag field defines more specifically the type of objective it is. + +| Flag | Name | Description | +|------|----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| +| 0 | QUEST\_OBJECTIVE\_FLAG\_NONE | No flags | +| 1 | QUEST\_OBJECTIVE\_FLAG\_TRACKED\_ON\_MINIMAP | Client displays large yellow blob on minimap for creature/gameobject | +| 2 | QUEST\_OBJECTIVE\_FLAG\_SEQUENCED | Client will not see the objective displayed until all previous objectives are completed | +| 4 | QUEST\_OBJECTIVE\_FLAG\_OPTIONAL | Not required to complete the quest | +| 8 | QUEST\_OBJECTIVE\_FLAG\_HIDDEN | Never displayed in quest log | +| 16 | QUEST\_OBJECTIVE\_FLAG\_HIDE\_ITEM\_GAINS | Skip showing item objective progress | +| 32 | QUEST\_OBJECTIVE\_FLAG\_PROGRESS\_COUNTS\_ITEMS\_IN\_INVENTORY | Item objective progress counts items in inventory instead of reading it from updatefields | +| 64 | QUEST\_OBJECTIVE\_FLAG\_PART\_OF\_PROGRESS\_BAR | Hidden objective used to calculate progress bar percent (quests are limited to a single progress bar objective) | + +Like all flag based fields, **QuestObjectiveFlags** can be added for the different types of objective. + +### Flags2 + +### ProgressBarWeight + +### Description + +### VerifiedBuild + + -- cgit