Update quests DB structure

According to 5178395a4f
This commit is contained in:
Toshik
2015-08-18 22:05:16 +03:00
parent 59e254be54
commit 482a8dbd7d

View File

@@ -41,14 +41,16 @@ function quests(array $ids = [])
Flags, Flags,
SpecialFlags, SpecialFlags,
0 AS cuFlags, -- cuFlags 0 AS cuFlags, -- cuFlags
RequiredClasses, RequiredRaces, AllowableClasses AS RequiredClasses,
RequiredRaces,
RequiredSkillId, RequiredSkillPoints, RequiredSkillId, RequiredSkillPoints,
RequiredFactionId1, RequiredFactionId2, RequiredFactionId1, RequiredFactionId2,
RequiredFactionValue1, RequiredFactionValue2, RequiredFactionValue1, RequiredFactionValue2,
RequiredMinRepFaction, RequiredMaxRepFaction, RequiredMinRepFaction, RequiredMaxRepFaction,
RequiredMinRepValue, RequiredMaxRepValue, RequiredMinRepValue, RequiredMaxRepValue,
RequiredPlayerKills, RequiredPlayerKills,
SourceItemId, SourceItemCount, SourceItemId,
ProvidedItemCount AS SourceItemCount,
SourceSpellId, SourceSpellId,
RewardXPId, -- QuestXP.dbc x level RewardXPId, -- QuestXP.dbc x level
RewardOrRequiredMoney, RewardOrRequiredMoney,
@@ -88,6 +90,8 @@ function quests(array $ids = [])
ObjectiveText4, ObjectiveText4_loc2, ObjectiveText4_loc3, ObjectiveText4_loc6, ObjectiveText4_loc8 ObjectiveText4, ObjectiveText4_loc2, ObjectiveText4_loc3, ObjectiveText4_loc6, ObjectiveText4_loc8
FROM FROM
quest_template q quest_template q
LEFT JOIN
quest_template_addon qa ON q.ID = qa.ID
LEFT JOIN LEFT JOIN
locales_quest lq ON q.ID = lq.Id locales_quest lq ON q.ID = lq.Id
LEFT JOIN LEFT JOIN