任务模板表存储了游戏中所有任务的基本信息。这个表定义了任务的名称、描述、目标、奖励等属性。每个任务都有一个唯一的ID,游戏中的任务实例都是基于这些模板创建的。
字段名 | 类型 | 属性 | 描述 |
---|---|---|---|
ID | mediumint(8) unsigned | 主键,不为空 | 任务ID,唯一标识符 |
QuestType | tinyint(3) unsigned | 不为空,默认2 | 任务类型(0=普通,1=精英,2=日常,3=团队日常,83=传说) |
QuestLevel | smallint(3) | 不为空,默认-1 | 任务等级 |
MinLevel | tinyint(3) unsigned | 不为空,默认0 | 最低等级要求 |
QuestSortID | smallint(6) | 不为空,默认0 | 任务分类ID |
QuestInfoID | smallint(5) unsigned | 不为空,默认0 | 任务信息ID |
SuggestedGroupNum | tinyint(3) unsigned | 不为空,默认0 | 建议小队人数 |
RequiredFactionId1 | smallint(5) unsigned | 不为空,默认0 | 需求阵营ID1 |
RequiredFactionId2 | smallint(5) unsigned | 不为空,默认0 | 需求阵营ID2 |
RequiredFactionValue1 | mediumint(8) | 不为空,默认0 | 需求阵营值1 |
RequiredFactionValue2 | mediumint(8) | 不为空,默认0 | 需求阵营值2 |
RewardNextQuest | mediumint(8) unsigned | 不为空,默认0 | 奖励下一个任务 |
RewardXPDifficulty | tinyint(3) unsigned | 不为空,默认0 | 奖励经验难度 |
RewardMoney | int(11) | 不为空,默认0 | 奖励金钱 |
RewardBonusMoney | int(10) unsigned | 不为空,默认0 | 奖励额外金钱 |
RewardDisplaySpell | mediumint(8) unsigned | 不为空,默认0 | 奖励显示法术 |
RewardSpell | int(11) | 不为空,默认0 | 奖励法术 |
RewardHonor | int(11) | 不为空,默认0 | 奖励荣誉 |
RewardKillHonor | float | 不为空,默认0 | 奖励击杀荣誉 |
StartItem | mediumint(8) unsigned | 不为空,默认0 | 开始物品 |
Flags | int(10) unsigned | 不为空,默认0 | 标志 |
RequiredPlayerKills | tinyint(3) unsigned | 不为空,默认0 | 需求玩家击杀数 |
RewardItem1 | mediumint(8) unsigned | 不为空,默认0 | 奖励物品1 |
RewardAmount1 | smallint(5) unsigned | 不为空,默认0 | 奖励数量1 |
RewardItem2 | mediumint(8) unsigned | 不为空,默认0 | 奖励物品2 |
RewardAmount2 | smallint(5) unsigned | 不为空,默认0 | 奖励数量2 |
RewardItem3 | mediumint(8) unsigned | 不为空,默认0 | 奖励物品3 |
RewardAmount3 | smallint(5) unsigned | 不为空,默认0 | 奖励数量3 |
RewardItem4 | mediumint(8) unsigned | 不为空,默认0 | 奖励物品4 |
RewardAmount4 | smallint(5) unsigned | 不为空,默认0 | 奖励数量4 |
ItemDrop1 | mediumint(8) unsigned | 不为空,默认0 | 物品掉落1 |
ItemDropQuantity1 | smallint(5) unsigned | 不为空,默认0 | 物品掉落数量1 |
ItemDrop2 | mediumint(8) unsigned | 不为空,默认0 | 物品掉落2 |
ItemDropQuantity2 | smallint(5) unsigned | 不为空,默认0 | 物品掉落数量2 |
ItemDrop3 | mediumint(8) unsigned | 不为空,默认0 | 物品掉落3 |
ItemDropQuantity3 | smallint(5) unsigned | 不为空,默认0 | 物品掉落数量3 |
ItemDrop4 | mediumint(8) unsigned | 不为空,默认0 | 物品掉落4 |
ItemDropQuantity4 | smallint(5) unsigned | 不为空,默认0 | 物品掉落数量4 |
RewardChoiceItemID1 | mediumint(8) unsigned | 不为空,默认0 | 奖励选择物品ID1 |
RewardChoiceItemQuantity1 | smallint(5) unsigned | 不为空,默认0 | 奖励选择物品数量1 |
RewardChoiceItemID2 | mediumint(8) unsigned | 不为空,默认0 | 奖励选择物品ID2 |
RewardChoiceItemQuantity2 | smallint(5) unsigned | 不为空,默认0 | 奖励选择物品数量2 |
RewardChoiceItemID3 | mediumint(8) unsigned | 不为空,默认0 | 奖励选择物品ID3 |
RewardChoiceItemQuantity3 | smallint(5) unsigned | 不为空,默认0 | 奖励选择物品数量3 |
RewardChoiceItemID4 | mediumint(8) unsigned | 不为空,默认0 | 奖励选择物品ID4 |
RewardChoiceItemQuantity4 | smallint(5) unsigned | 不为空,默认0 | 奖励选择物品数量4 |
RewardChoiceItemID5 | mediumint(8) unsigned | 不为空,默认0 | 奖励选择物品ID5 |
RewardChoiceItemQuantity5 | smallint(5) unsigned | 不为空,默认0 | 奖励选择物品数量5 |
RewardChoiceItemID6 | mediumint(8) unsigned | 不为空,默认0 | 奖励选择物品ID6 |
RewardChoiceItemQuantity6 | smallint(5) unsigned | 不为空,默认0 | 奖励选择物品数量6 |
POIContinent | smallint(5) unsigned | 不为空,默认0 | POI大陆 |
POIx | float | 不为空,默认0 | POI X坐标 |
POIy | float | 不为空,默认0 | POI Y坐标 |
POIPriority | mediumint(8) unsigned | 不为空,默认0 | POI优先级 |
RewardTitle | tinyint(3) unsigned | 不为空,默认0 | 奖励称号 |
RewardTalents | tinyint(3) unsigned | 不为空,默认0 | 奖励天赋点 |
RewardArenaPoints | smallint(5) unsigned | 不为空,默认0 | 奖励竞技场点数 |
RewardFactionID1 | smallint(5) unsigned | 不为空,默认0 | 奖励阵营ID1 |
RewardFactionValue1 | mediumint(8) | 不为空,默认0 | 奖励阵营值1 |
RewardFactionOverride1 | mediumint(8) | 不为空,默认0 | 奖励阵营覆盖1 |
RewardFactionID2 | smallint(5) unsigned | 不为空,默认0 | 奖励阵营ID2 |
RewardFactionValue2 | mediumint(8) | 不为空,默认0 | 奖励阵营值2 |
RewardFactionOverride2 | mediumint(8) | 不为空,默认0 | 奖励阵营覆盖2 |
RewardFactionID3 | smallint(5) unsigned | 不为空,默认0 | 奖励阵营ID3 |
RewardFactionValue3 | mediumint(8) | 不为空,默认0 | 奖励阵营值3 |
RewardFactionOverride3 | mediumint(8) | 不为空,默认0 | 奖励阵营覆盖3 |
RewardFactionID4 | smallint(5) unsigned | 不为空,默认0 | 奖励阵营ID4 |
RewardFactionValue4 | mediumint(8) | 不为空,默认0 | 奖励阵营值4 |
RewardFactionOverride4 | mediumint(8) | 不为空,默认0 | 奖励阵营覆盖4 |
RewardFactionID5 | smallint(5) unsigned | 不为空,默认0 | 奖励阵营ID5 |
RewardFactionValue5 | mediumint(8) | 不为空,默认0 | 奖励阵营值5 |
RewardFactionOverride5 | mediumint(8) | 不为空,默认0 | 奖励阵营覆盖5 |
TimeAllowed | int(10) unsigned | 不为空,默认0 | 允许时间 |
AllowableRaces | smallint(5) unsigned | 不为空,默认-1 | 允许种族 |
LogTitle | text | 不为空 | 日志标题 |
LogDescription | text | 不为空 | 日志描述 |
QuestDescription | text | 不为空 | 任务描述 |
AreaDescription | text | 不为空 | 区域描述 |
QuestCompletionLog | text | 不为空 | 任务完成日志 |
RequiredNpcOrGo1 | mediumint(8) | 不为空,默认0 | 需求NPC或物体1 |
RequiredNpcOrGo2 | mediumint(8) | 不为空,默认0 | 需求NPC或物体2 |
RequiredNpcOrGo3 | mediumint(8) | 不为空,默认0 | 需求NPC或物体3 |
RequiredNpcOrGo4 | mediumint(8) | 不为空,默认0 | 需求NPC或物体4 |
RequiredNpcOrGoCount1 | smallint(5) unsigned | 不为空,默认0 | 需求NPC或物体数量1 |
RequiredNpcOrGoCount2 | smallint(5) unsigned | 不为空,默认0 | 需求NPC或物体数量2 |
RequiredNpcOrGoCount3 | smallint(5) unsigned | 不为空,默认0 | 需求NPC或物体数量3 |
RequiredNpcOrGoCount4 | smallint(5) unsigned | 不为空,默认0 | 需求NPC或物体数量4 |
RequiredItemId1 | mediumint(8) unsigned | 不为空,默认0 | 需求物品ID1 |
RequiredItemId2 | mediumint(8) unsigned | 不为空,默认0 | 需求物品ID2 |
RequiredItemId3 | mediumint(8) unsigned | 不为空,默认0 | 需求物品ID3 |
RequiredItemId4 | mediumint(8) unsigned | 不为空,默认0 | 需求物品ID4 |
RequiredItemId5 | mediumint(8) unsigned | 不为空,默认0 | 需求物品ID5 |
RequiredItemId6 | mediumint(8) unsigned | 不为空,默认0 | 需求物品ID6 |
RequiredItemCount1 | smallint(5) unsigned | 不为空,默认0 | 需求物品数量1 |
RequiredItemCount2 | smallint(5) unsigned | 不为空,默认0 | 需求物品数量2 |
RequiredItemCount3 | smallint(5) unsigned | 不为空,默认0 | 需求物品数量3 |
RequiredItemCount4 | smallint(5) unsigned | 不为空,默认0 | 需求物品数量4 |
RequiredItemCount5 | smallint(5) unsigned | 不为空,默认0 | 需求物品数量5 |
RequiredItemCount6 | smallint(5) unsigned | 不为空,默认0 | 需求物品数量6 |
Unknown0 | tinyint(3) unsigned | 不为空,默认0 | 未知0 |
ObjectiveText1 | text | 不为空 | 目标文本1 |
ObjectiveText2 | text | 不为空 | 目标文本2 |
ObjectiveText3 | text | 不为空 | 目标文本3 |
ObjectiveText4 | text | 不为空 | 目标文本4 |
VerifiedBuild | smallint(5) | 不为空,默认0 | 验证版本 |
Flags字段定义了任务的特殊属性和行为,是一个位掩码值,可以组合多个标志。
标志值 | 标志名称 | 描述 |
---|---|---|
1 | QUEST_FLAGS_STAY_ALIVE | 如果玩家死亡,任务失败 |
2 | QUEST_FLAGS_PARTY_ACCEPT | 小队中的任何成员都可以接受此任务 |
4 | QUEST_FLAGS_EXPLORATION | 探索任务 |
8 | QUEST_FLAGS_SHARABLE | 可以共享给小队成员 |
16 | QUEST_FLAGS_EPIC | 史诗任务,任务名称显示为紫色 |
32 | QUEST_FLAGS_RAID | 团队任务 |
64 | QUEST_FLAGS_TBC | 燃烧远征任务 |
128 | QUEST_FLAGS_DELIVER_MORE | 需要交付更多物品 |
256 | QUEST_FLAGS_HIDDEN_REWARDS | 隐藏奖励 |
512 | QUEST_FLAGS_AUTO_REWARDED | 自动完成 |
1024 | QUEST_FLAGS_TBC_RACES | 燃烧远征种族任务 |
2048 | QUEST_FLAGS_DAILY | 日常任务 |
4096 | QUEST_FLAGS_REPEATABLE | 可重复任务 |
8192 | QUEST_FLAGS_UNAVAILABLE | 不可用任务 |
16384 | QUEST_FLAGS_WEEKLY | 每周任务 |
32768 | QUEST_FLAGS_AUTOCOMPLETE | 自动完成任务 |
65536 | QUEST_FLAGS_SPECIAL_ITEM | 特殊物品任务 |
131072 | QUEST_FLAGS_OBJ_TEXT | 目标文本任务 |
262144 | QUEST_FLAGS_AUTO_ACCEPT | 自动接受任务 |