Skip to content

quest_template

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
IDintunsignedPRINO0
QuestTypetinyintunsignedNO2
QuestPackageIDintunsignedNO0
ContentTuningIDintunsignedNO0
QuestSortIDsmallintsignedNO0
QuestInfoIDsmallintunsignedNO0
SuggestedGroupNumtinyintunsignedNO0
RewardNextQuestintunsignedNO0
RewardXPDifficultyintunsignedNO0
RewardXPMultiplierfloatNO1
RewardMoneyDifficultyintunsignedNO0
RewardMoneyMultiplierfloatNO1
RewardBonusMoneyintunsignedNO0
RewardDisplaySpell1intunsignedNO0
RewardDisplaySpell2intunsignedNO0
RewardDisplaySpell3intunsignedNO0
RewardSpellintunsignedNO0
RewardHonorintunsignedNO0
RewardKillHonorintunsignedNO0
StartItemintunsignedNO0
RewardArtifactXPDifficultyintunsignedNO0
RewardArtifactXPMultiplierfloatNO1
RewardArtifactCategoryIDintunsignedNO0
FlagsintunsignedNO0
FlagsExintunsignedNO0
FlagsEx2intunsignedNO0
RewardItem1intunsignedNO0
RewardAmount1intunsignedNO0
RewardItem2intunsignedNO0
RewardAmount2intunsignedNO0
RewardItem3intunsignedNO0
RewardAmount3intunsignedNO0
RewardItem4intunsignedNO0
RewardAmount4intunsignedNO0
ItemDrop1intunsignedNO0
ItemDropQuantity1intunsignedNO0
ItemDrop2intunsignedNO0
ItemDropQuantity2intunsignedNO0
ItemDrop3intunsignedNO0
ItemDropQuantity3intunsignedNO0
ItemDrop4intunsignedNO0
ItemDropQuantity4intunsignedNO0
RewardChoiceItemID1intunsignedNO0
RewardChoiceItemQuantity1intunsignedNO0
RewardChoiceItemDisplayID1intunsignedNO0
RewardChoiceItemID2intunsignedNO0
RewardChoiceItemQuantity2intunsignedNO0
RewardChoiceItemDisplayID2intunsignedNO0
RewardChoiceItemID3intunsignedNO0
RewardChoiceItemQuantity3intunsignedNO0
RewardChoiceItemDisplayID3intunsignedNO0
RewardChoiceItemID4intunsignedNO0
RewardChoiceItemQuantity4intunsignedNO0
RewardChoiceItemDisplayID4intunsignedNO0
RewardChoiceItemID5intunsignedNO0
RewardChoiceItemQuantity5intunsignedNO0
RewardChoiceItemDisplayID5intunsignedNO0
RewardChoiceItemID6intunsignedNO0
RewardChoiceItemQuantity6intunsignedNO0
RewardChoiceItemDisplayID6intunsignedNO0
POIContinentintunsignedNO0
POIxfloatNO0
POIyfloatNO0
POIPriorityintsignedNO0
RewardTitleintunsignedNO0
RewardArenaPointsintunsignedNO0
RewardSkillLineIDintunsignedNO0
RewardNumSkillUpsintunsignedNO0
PortraitGiverintunsignedNO0
PortraitGiverMountintsignedNO0
PortraitGiverModelSceneIDintsignedNO0
PortraitTurnInintunsignedNO0
RewardFactionID1intunsignedNO0
RewardFactionValue1intsignedNO0
RewardFactionOverride1intsignedNO0
RewardFactionCapIn1intsignedNO0
RewardFactionID2intunsignedNO0
RewardFactionValue2intsignedNO0
RewardFactionOverride2intsignedNO0
RewardFactionCapIn2intsignedNO0
RewardFactionID3intunsignedNO0
RewardFactionValue3intsignedNO0
RewardFactionOverride3intsignedNO0
RewardFactionCapIn3intsignedNO0
RewardFactionID4intunsignedNO0
RewardFactionValue4intsignedNO0
RewardFactionOverride4intsignedNO0
RewardFactionCapIn4intsignedNO0
RewardFactionID5intunsignedNO0
RewardFactionValue5intsignedNO0
RewardFactionOverride5intsignedNO0
RewardFactionCapIn5intsignedNO0
RewardFactionFlagsintunsignedNO0
RewardCurrencyID1intunsignedNO0
RewardCurrencyQty1intunsignedNO0
RewardCurrencyID2intunsignedNO0
RewardCurrencyQty2intunsignedNO0
RewardCurrencyID3intunsignedNO0
RewardCurrencyQty3intunsignedNO0
RewardCurrencyID4intunsignedNO0
RewardCurrencyQty4intunsignedNO0
AcceptedSoundKitIDintunsignedNO0
CompleteSoundKitIDintunsignedNO0
AreaGroupIDintunsignedNO0
TimeAllowedbigintsignedNO0
AllowableRacesbigintunsignedYES0
ExpansionintsignedNO0
ManagedWorldStateIDintsignedNO0
QuestSessionBonusintsignedNO0
LogTitlemediumtextYESNULL
LogDescriptionmediumtextYESNULL
QuestDescriptionmediumtextYESNULL
AreaDescriptionmediumtextYESNULL
PortraitGiverTextmediumtextYESNULL
PortraitGiverNamemediumtextYESNULL
PortraitTurnInTextmediumtextYESNULL
PortraitTurnInNamemediumtextYESNULL
QuestCompletionLogmediumtextYESNULL
ResetBySchedulertinyintsignedNO0
VerifiedBuildintsignedNO0
 

Description of fields ​

ID ​

The quest ID. This column is the Primary Key for the Table. Each quest ID must be unique!  

QuestType ​

  • 0: Quest is enabled, but it is auto-completed when accepted; this skips quest objectives and quest details.
  • 1: Quest is disabled (not yet implemented in the core).
  • 2: Quest is enabled (does not auto-complete).
  • 3: Quest is a World Quest.  

QuestPackageID ​

- no description -  

ContentTuningID ​

- no description -  

QuestSortID ​

This field defines under what category the quest falls in the quest log.

  • QuestSortID > 0: positive AreaTable ID
  • QuestSortID < 0: negative QuestSort ID (in general profession, class or holiday quests)

QuestSort excerpt:

IDNameIDName
22Seasonal261Hunter
24Herbalism262Priest
25Battlegrounds263Druid
41Day of the Dead264Tailoring
61Warlock304Cooking
81Warrior324First Aid
82Shaman364Darkmoon Faire
101Fishing366Lunar Festival
121Blacksmithing369Midsummer
141Paladin370Brewfest
161Mage371Inscription
162Rogue372Death Knight
181Alchemy373Jewelcrafting
182Leatherworking374Noblegarden
201Engineering375Pilgrim's Bounty
241Tournament376Love is in the Air

 

QuestInfoID ​

QuestInfo ID

IDName
1Group
21Life
41PvP
62Raid
81Dungeon
82World Event
83Legendary
84Escort
85Heroic
88Raid (10)
89Raid (25)

 

SuggestedGroupNum ​

Recommended number of players to do the quest together.  

RewardNextQuest ​

ID of the next quest in a chain. The result is, that if you end the quest, the new quest instantly appears from the quest giver.  

RewardXPDifficulty ​

references QuestXP Difficulty The amount of XP is determined by the QuestLevel (row) and RewardXPDifficulty (column) when reading from QuestXP table.

If the quest is repeatable, XP will be given only once. The total XP that a character will receive is also affected by the level difference between the character's level and the quest's level.  

RewardXPMultiplier ​

- no description -  

RewardMoneyDifficulty ​

- no description -  

RewardMoneyMultiplier ​

- no description -  

RewardBonusMoney ​

The money a character at level 80 would get when they complete this quest.  

RewardDisplaySpell[1-3] ​

Spell that is shown to be casted on quest completion in the quest log. Note that this spell will NOT be casted if RewardSpell is non-zero. The spell in the other field will be casted instead, in which case the spell here only serves as the visual in the quest log.

Note: This field comes straight from the WDB and should not be changed.

 

RewardSpell ​

Spell that will always be casted at player when completing the quest. This can be a learn spell and player the learned some spell in result, or a buff spell for example. If this field is non-zero then this spell will ALWAYS be casted and the spell in RewardDisplaySpell will not.

Note: This field comes straight from the WDB and should not be changed.

 

RewardHonor ​

Number of honor points rewarded for completing this quest.  

RewardKillHonor ​

Number of honorable kill honor rewarded for completing this quest.

Example: An example value is 8 for For Great Honor. At level 80 an honorable kill is worth 124 honor. Multiply this with 8 and you receive 992 honor as reward.  

StartItem ​

Item entry given when accepting the quest. Item will be deleted when the quest is abandoned.  

RewardArtifactXPDifficulty ​

- no description -  

RewardArtifactXPMultiplier ​

- no description -  

RewardArtifactCategoryID ​

- no description -  

Flags ​

enum QuestFlags

ValueFlagNameDescription
10x000001QUEST_FLAGS_STAY_ALIVENot used currently; If the player dies, the quest is failed.
20x000002QUEST_FLAGS_PARTY_ACCEPTNot used currently. If player in party, all players that can accept this quest will receive confirmation box to accept quest CMSG_QUEST_CONFIRM_ACCEPT/SMSG_QUEST_CONFIRM_ACCEPT
40x000004QUEST_FLAGS_EXPLORATIONNot used currently; Involves the activation of an areatrigger.
80x000008QUEST_FLAGS_SHARABLECan be shared: Player::CanShareQuest()
160x000010QUEST_FLAGS_HAS_CONDITIONNot used currently
320x000020QUEST_FLAGS_HIDE_REWARD_POINot used currently: Unsure of content
640x000040QUEST_FLAGS_RAIDCan be completed while in raid
1280x000080QUEST_FLAGS_TBCNot used currently: Available if TBC expansion enabled only
2560x000100QUEST_FLAGS_NO_MONEY_FROM_XPNot used currently: Experience is not converted to gold at max level
5120x000200QUEST_FLAGS_HIDDEN_REWARDSItem and monetary rewards are hidden in the initial quest details page and in the quest log but will appear once ready to be rewarded.
10240x000400QUEST_FLAGS_TRACKINGThese quests are automatically rewarded on quest complete and they will never appear in quest log client side.
20480x000800QUEST_FLAGS_DEPRECATE_REPUTATIONNot used currently
40960x001000QUEST_FLAGS_DAILYDaily repeatable quests
81920x002000QUEST_FLAGS_FLAGS_PVPHaving this quest in log forces PvP flag
163840x004000QUEST_FLAGS_UNAVAILABLEUsed on quests that are not generically available
327680x008000QUEST_FLAGS_WEEKLYWeekly repeatable quests
655360x010000QUEST_FLAGS_AUTOCOMPLETEauto complete
1310720x020000QUEST_FLAGS_DISPLAY_ITEM_IN_TRACKERDisplays usable item in quest tracker
2621440x040000QUEST_FLAGS_OBJ_TEXTuse Objective text as Complete text
5242880x080000QUEST_FLAGS_AUTO_ACCEPTThe client recognizes this flag as auto-accept. However, NONE of the current quests (3.3.5a) have this flag. Maybe blizz used to use it, or will use it in the future.
 

FlagsEx ​

- no description -  

FlagsEx2 ​

- no description -  

RewardItem[1-4] ​

Item entry given as reward (no choice).  

RewardAmount[1-4] ​

The amount of items forced onto the player.  

ItemDrop[1-4] ​

Item entry that is needed indirectly by the quest. For example, the quests asks for item X but the only way to get item X is by activating item Y; however, item Y is also a quest item. Therefore you set item Y's entry in this field. This requirement will not appear in the quest text, it is just for the core to know when to drop a quest item that isn't in the RequiredItemId* field but is still needed by the quest.  

ItemDropQuantity[1-4] ​

The maximum number of copies of the item in RequiredSourceItemId* that can be picked up (and dropped by the core).  

RewardChoiceItemID[1-6] ​

The player has to pick one of RewardChoiceItemID* as a reward.  

RewardChoiceItemQuantity[1-6] ​

The amount of items to reward if if the correspondig RewardChoiceItemID* is selected.  

POIContinent ​

Map ID of a quest point of interest (POI - Point Of Interest). POI will be shown on the map when quest is active.  

POIx ​

X coordinate of quest POI.  

POIy ​

Y coordinate of quest POI.  

POIPriority ​

unknown / just sent to client  

RewardTitle ​

CharTitle ID to reward on completion.  

RewardArenaPoints ​

An amount of arena points to reward on completion.  

RewardSkillLineID ​

- no description -  

RewardNumSkillUps ​

- no description -  

PortraitGiver ​

- no description -  

PortraitGiverMount ​

- no description -  

PortraitGiverModelSceneID ​

- no description -  

PortraitTurnIn ​

- no description -  

RewardFactionID[1-5] ​

Faction ID for which the quest rewards reputation points.  

RewardFactionValue[1-5] ​

This field is used for reputation lookup in QuestFactionReward. The value X in this field indicates index of QuestFactionReward Difficulty.

IDRep0Rep1Rep2Rep3Rep4Rep5Rep6Rep7Rep8Rep9
1010257515025035050010005
20-10-25-75-150-250-350-500-1000-5

 

RewardFactionOverride[1-5] ​

This field is used to give reputation values not present in QuestFactionReward or to override them if RewardFactionValue* is wrong for some reason. The value in this field is 100� the intended reputation reward (if you want to give 400 rep, put 40000 in RewardFactionOverride*).  

RewardFactionCapIn[1-5] ​

- no description -  

RewardFactionFlags ​

- no description -  

RewardCurrencyID1 ​

- no description -  

RewardCurrencyQty1 ​

- no description -  

RewardCurrencyID2 ​

- no description -  

RewardCurrencyQty2 ​

- no description -  

RewardCurrencyID3 ​

- no description -  

RewardCurrencyQty3 ​

- no description -  

RewardCurrencyID4 ​

- no description -  

RewardCurrencyQty4 ​

- no description -  

AcceptedSoundKitID ​

- no description -  

CompleteSoundKitID ​

- no description -  

AreaGroupID ​

- no description -  

TimeAllowed ​

Time in seconds that the player has to complete this quest.  

AllowableRaces ​

Race mask of ChrRace IDs allowed to get the quest. 0 means the quest is accessible for all races.

ValueFlagNameValueFlagName
10x0001Human20x0002Orc
40x0004Dwarf160x0010Undead
80x0008Night Elf320x0020Tauren
640x0040Gnome1280x0080Troll
10240x0400Draenei5120x0200Blood Elf
11010x044DAlliance6900x02B2Horde
UPDATE ME
 

Expansion ​

- no description -  

ManagedWorldStateID ​

- no description -  

QuestSessionBonus ​

- no description -  

LogTitle ​

- no description -  

LogDescription ​

- no description -  

QuestDescription ​

- no description -  

AreaDescription ​

- no description -  

PortraitGiverText ​

- no description -  

PortraitGiverName ​

- no description -  

PortraitTurnInText ​

- no description -  

PortraitTurnInName ​

- no description -  

QuestCompletionLog ​

Objective text displayed after all other objectives are completed. Example: Return to <NPC> at <Location> in <Zone>.  

ResetByScheduler ​

- no description -  

VerifiedBuild ​

This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.

If value is 0 then it has not been parsed yet.

If value is above 0 then it has been parsed with WDB files from that specific client build.

If value is -1 then it is just a place holder until proper data are found on WDBs.

If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.