mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Quest DB structure fix
Fixes related to latest DB structure changes:
This commit is contained in:
@@ -25,13 +25,13 @@ function quests(array $ids = [])
|
|||||||
$baseQuery = '
|
$baseQuery = '
|
||||||
SELECT
|
SELECT
|
||||||
q.ID,
|
q.ID,
|
||||||
Method,
|
QuestType AS Method,
|
||||||
QuestLevel,
|
QuestLevel,
|
||||||
MinLevel,
|
MinLevel,
|
||||||
MaxLevel,
|
MaxLevel,
|
||||||
QuestSortID,
|
QuestSortID,
|
||||||
QuestSortID AS zoneOrSortBak, -- ZoneOrSortBak
|
QuestSortID AS zoneOrSortBak, -- ZoneOrSortBak
|
||||||
QuestType,
|
QuestInfoID AS QuestType,
|
||||||
SuggestedGroupNum,
|
SuggestedGroupNum,
|
||||||
LimitTime,
|
LimitTime,
|
||||||
IFNULL(gesqr.eventEntry, 0) AS eventId,
|
IFNULL(gesqr.eventEntry, 0) AS eventId,
|
||||||
@@ -76,8 +76,8 @@ function quests(array $ids = [])
|
|||||||
LogDescription, Objectives_loc2, Objectives_loc3, Objectives_loc6, Objectives_loc8,
|
LogDescription, Objectives_loc2, Objectives_loc3, Objectives_loc6, Objectives_loc8,
|
||||||
QuestDescription, Details_loc2, Details_loc3, Details_loc6, Details_loc8,
|
QuestDescription, Details_loc2, Details_loc3, Details_loc6, Details_loc8,
|
||||||
EndText, EndText_loc2, EndText_loc3, EndText_loc6, EndText_loc8,
|
EndText, EndText_loc2, EndText_loc3, EndText_loc6, EndText_loc8,
|
||||||
OfferRewardText, OfferRewardText_loc2, OfferRewardText_loc3, OfferRewardText_loc6, OfferRewardText_loc8,
|
qor.RewardText AS OfferRewardText, OfferRewardText_loc2, OfferRewardText_loc3, OfferRewardText_loc6, OfferRewardText_loc8,
|
||||||
RequestItemsText, RequestItemsText_loc2, RequestItemsText_loc3, RequestItemsText_loc6, RequestItemsText_loc8,
|
qri.CompletionText AS RequestItemsText, RequestItemsText_loc2, RequestItemsText_loc3, RequestItemsText_loc6, RequestItemsText_loc8,
|
||||||
QuestCompletionLog, CompletedText_loc2, CompletedText_loc3, CompletedText_loc6, CompletedText_loc8,
|
QuestCompletionLog, CompletedText_loc2, CompletedText_loc3, CompletedText_loc6, CompletedText_loc8,
|
||||||
RequiredNpcOrGo1, RequiredNpcOrGo2, RequiredNpcOrGo3, RequiredNpcOrGo4,
|
RequiredNpcOrGo1, RequiredNpcOrGo2, RequiredNpcOrGo3, RequiredNpcOrGo4,
|
||||||
RequiredNpcOrGoCount1, RequiredNpcOrGoCount2, RequiredNpcOrGoCount3, RequiredNpcOrGoCount4,
|
RequiredNpcOrGoCount1, RequiredNpcOrGoCount2, RequiredNpcOrGoCount3, RequiredNpcOrGoCount4,
|
||||||
@@ -93,6 +93,10 @@ function quests(array $ids = [])
|
|||||||
quest_template q
|
quest_template q
|
||||||
LEFT JOIN
|
LEFT JOIN
|
||||||
quest_template_addon qa ON q.ID = qa.ID
|
quest_template_addon qa ON q.ID = qa.ID
|
||||||
|
LEFT JOIN
|
||||||
|
quest_offer_reward qor ON q.ID = qor.ID
|
||||||
|
LEFT JOIN
|
||||||
|
quest_request_items qri ON q.ID = qri.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
|
||||||
|
|||||||
Reference in New Issue
Block a user