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,
SpecialFlags,
0 AS cuFlags, -- cuFlags
RequiredClasses, RequiredRaces,
AllowableClasses AS RequiredClasses,
RequiredRaces,
RequiredSkillId, RequiredSkillPoints,
RequiredFactionId1, RequiredFactionId2,
RequiredFactionValue1, RequiredFactionValue2,
RequiredMinRepFaction, RequiredMaxRepFaction,
RequiredMinRepValue, RequiredMaxRepValue,
RequiredPlayerKills,
SourceItemId, SourceItemCount,
SourceItemId,
ProvidedItemCount AS SourceItemCount,
SourceSpellId,
RewardXPId, -- QuestXP.dbc x level
RewardOrRequiredMoney,
@@ -88,6 +90,8 @@ function quests(array $ids = [])
ObjectiveText4, ObjectiveText4_loc2, ObjectiveText4_loc3, ObjectiveText4_loc6, ObjectiveText4_loc8
FROM
quest_template q
LEFT JOIN
quest_template_addon qa ON q.ID = qa.ID
LEFT JOIN
locales_quest lq ON q.ID = lq.Id
LEFT JOIN
@@ -199,4 +203,4 @@ function quests(array $ids = [])
return true;
}
?>
?>