Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Table: quest_template

...

FieldTypeNullKeyDefaultExtraComment

ID74218806

int(10) unsigned

NO

PRI

0



QuestType74218806

tinyint(3) unsigned

NO


2



QuestLevel74218806

int(11)

NO


-1



QuestPackageID74218806

int(10) unsigned

NO


0



MinLevel74218806

int(11)

NO


0



QuestSortID74218806

smallint(6)

NO


0



QuestInfoID74218806

smallint(5) unsigned

NO


0



SuggestedGroupNum74218806

tinyint(3) unsigned

NO


0



RewardNextQuest74218806

int(10) unsigned

NO


0



RewardXPDifficulty74218806

int(10) unsigned

NO


0



RewardXPMultiplier74218806

float

NO


1



RewardMoney74218806

int(11)

NO


0



RewardMoneyDifficulty74218806

int(10) unsigned

NO


0



RewardMoneyMultiplier74218806

float

NO


1



RewardBonusMoney74218806

int(10) unsigned

NO


0



RewardDisplaySpell(X=1...3)

int(10) unsigned

NO


0



RewardSpell74218806

int(10) unsigned

NO


0



RewardHonor74218806

int(10) unsigned

NO


0



RewardKillHonor

int(10) unsigned

NO


0



StartItem74218806

int(10) unsigned

NO


0



RewardArtifactXPDifficulty

int(10) unsigned

NO


0



RewardArtifactXPMultiplier

float

NO


1



RewardArtifactCategoryID

int(10) unsigned

NO


0



Flags74218806

int(10) unsigned

NO


0



FlagsEx74218806

int(10) unsigned

NO


0



RewardItem(X=1...4)74218806

int(10) unsigned

NO


0



RewardAmount(X=1...4)

int(10) unsigned

NO


0



ItemDrop(X=1...4)

int(10) unsigned

NO


0



ItemDropQuantity(X=1...4)74218806

int(10) unsigned

NO


0



RewardChoiceItemID(X=1...6)

int(10) unsigned

NO


0



RewardChoiceItemQuantity(X=1...6)

int(10) unsigned

NO


0



RewardChoiceItemDisplayID(X=1...6)

int(10) unsigned

NO


0



POIContinent74218806

int(10) unsigned

NO


0



POIx

float

NO


0



POIy

float

NO


0



POIPriority74218806

int(11)

NO


0



RewardTitle74218806

int(10) unsigned

NO


0



RewardArenaPoints

int(10) unsigned

NO


0



RewardSkillLineID

int(10) unsigned

NO


0



RewardNumSkillUps74218806

int(10) unsigned

NO


0



PortraitGiver

int(10) unsigned

NO


0



PortraitTurnIn74218806

int(10) unsigned

NO


0



RewardFactionID(X=1...5)

int(10) unsigned

NO


0



RewardFactionValue(X=1...5)

int(11)

NO


0



RewardFactionOverride(X=1...5)74218806

int(11)

NO


0



RewardFactionCapIn(X=1...5)74218806

int(10) unsigned

NO


0



RewardFactionFlags74218806

int(10) unsigned

NO


0



RewardCurrencyID(X=1...4)

int(10) unsigned

NO


0



RewardCurrencyQty(X=1...4)

int(10) unsigned

NO


0



AcceptedSoundKitID74218806

int(10) unsigned

NO


0



CompleteSoundKitID74218806

int(10) unsigned

NO


0



AreaGroupID74218806

int(10) unsigned

NO


0



TimeAllowed74218806

int(10) unsigned

NO


0



AllowableRaces74218806

int(11)

NO


-1



QuestRewardID74218806

int(10) unsigned

NO


0



LogTitle74218806

text

YES


(NULL)



LogDescription

text

YES


(NULL)



QuestDescription74218806

text

YES


(NULL)



AreaDescription

text

YES


(NULL)



PortraitGiverText

text

YES


(NULL)



PortraitGiverName

text

YES


(NULL)



PortraitTurnInText74218806

text

YES


(NULL)



PortraitTurnInName

text

YES


(NULL)



QuestCompletionLog

text

YES


(NULL)



VerifiedBuild74218806

smallint(5)

YES


0




Description of the fields

...

if value < 0 then (-value) is quest sort id: (in general profession or class quests. Also see RequiredSkillPoints 74218806 ) Value is ID from QuestSort.dbc

...

Mist of Pandaria and all Expansions after:

33555378 (33554432 + 256 + 128 + 32 + 16 + 2 + 512)  = Horde

18875469 (16777216 + 2097152 + 1024 + 64 + 8 + 4 + 1) = Alliance

RequiredSkillId

Skill required to know to accept the quest. See SkillIne.dbc
0 means no skill is required.

...

Reputation value that the player must achieve with the faction in RepObjectiveFaction 74218806 as part of the quest objectives.

...

If value < 0: Contains the parent quest id, that must be active before this quest can be started.

See the examples section for examples.

NextQuestId

If value > 0: Contains the next quest id, if PrevQuestId of that quest is not sufficient.

If value < 0: Contains the sub quest id, if PrevQuestId of that quest is not sufficient. If quest have many alternative next quests (class specific quests lead from single not class specific quest) field PrevQuestId in next quests can used for setting this dependence.

See the examples section for examples.

ExclusiveGroup

...

Note: All quests that use an ExclusiveGroup must also have entries in pool_template and pool_quest in order for the core to choose one randomly. See the examples section for examples.

RewardNextQuest

...

The quest entry from a creature or gameobject that ends a quest and starts a new one. The result is, that if you end the quest, the new quest instantly appears from the quest giver.

See the examples section for examples.

RewardXPDifficulty

According to the Level 74218806, the basic experience with index RewardXPDifficulty is taken from QuestXP.dbc.

...

Spell that is shown to be casted on quest completion in the quest log. Note that this spell will NOT be casted if RewardSpellCast 74218806 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.

...

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

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

...

How many seconds to wait until the mail is sent to the character that turned in a quest rewarding items from a loot template defined in RewardMailTemplateId 74218806

RewardHonor

Number of honorable kill honor rewarded for completing this quest.

...

RewardHonorMultiplier

Multiplies RewardHonor 74218806, so if value is 2, it will give double.

WARNING: If this field is 1 and RewardHonor 74218806 is 0, the quest will reward default honor kill value (124 honor at level 80)

...

Note that some flags may not be supported by core.

SpecialFlags

This has been moved to quest_template_addon.SpecialFlags

This field is a bitmask and is for controlling server side quest functions. This data blizz keeps serverside, and is not sent to the client, so we have to populate the field manually.

...

This field is used for reputation lookup in QuestFactionReward.dbc if RewardFactionValueId 74218806 is 0. Value X in this field indicates RepX column of QuestFactionReward.dbc. If RewardRepValueId is positive, reputation from the first row of QuestFactionReward.dbc will be used, for negative values the second row is used.

...

This field is used to give reputation values not present in QuestFactionReward.dbc or to override them if RewardRepValueId 74218806 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 RewardFactionValueIdOverride).

...

Spell Id required to cast on RequiredNpcOrGo 74218806 to update Objective.

ObjectiveText

...