From 8f74e67582e7cc18609a43ccdb91257cf6a476d3 Mon Sep 17 00:00:00 2001 From: Aldric Ducreux Date: Thu, 15 Aug 2024 03:07:19 +0200 Subject: [PATCH] Fix done with IsCampaignQuest --- .vscode/settings.json | 2 +- Event.lua | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 92dca03..07d8f95 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,6 +26,6 @@ "utf8": "disable" }, "Lua.workspace.library": [ - "~\\.vscode\\extensions\\ketho.wow-api-0.16.5\\Annotations" + "~\\.vscode\\extensions\\ketho.wow-api-0.16.8\\Annotations" ] } diff --git a/Event.lua b/Event.lua index 19eaeb8..99918a4 100644 --- a/Event.lua +++ b/Event.lua @@ -168,8 +168,7 @@ function AprRC.event.functions.done(event, questId, ...) local currentStep = AprRC:GetLastStep() tinsert(currentStep.Done, questId) else - local step = { Done = { questId } } - step.IsCampaignQuest = AprRC:IsCampaignQuest(questId) or nil + local step = { Done = { questId }, IsCampaignQuest = AprRC:IsCampaignQuest(questId) or nil } AprRC:SetStepCoord(step) AprRC:NewStep(step) end @@ -634,9 +633,6 @@ end -- - GroupTask ["GroupTask"] = 51384, (the questId from Group, step to check if player want to do the group quest) -- - QuestLineSkip ???? (block group quest if present) ["QuestLineSkip"] = 51226, --- - QpartPart (rework ?) -> button/command --- - TrigText (rework ?) - -- MountVehicle / InVehicle (rework) ---------------------