Add debug print to IsComplete for tricky quest

This commit is contained in:
Xurkon
2026-02-21 12:43:21 -06:00
parent 7aaf4d3495
commit 7328771932
+7
View File
@@ -1100,11 +1100,18 @@ function QuestieDB.IsComplete(questId)
local allDone = true local allDone = true
for _, obj in ipairs(objectives) do for _, obj in ipairs(objectives) do
if obj.numRequired and obj.numRequired > 0 and obj.numFulfilled ~= obj.numRequired then if obj.numRequired and obj.numRequired > 0 and obj.numFulfilled ~= obj.numRequired then
if questLogEntry.questId == 12843 or questLogEntry.questId == 12844 then
print("QuestieDB " .. tostring(questLogEntry.title) .. " incomplete because obj " .. tostring(obj.text) .. " has " .. tostring(obj.numFulfilled) .. "/" .. tostring(obj.numRequired))
end
allDone = false allDone = false
break break
end end
end end
if (questLogEntry.questId == 12843 or questLogEntry.questId == 12844) and allDone then
print("QuestieDB " .. tostring(questLogEntry.title) .. " thinks it is all done.")
end
return allDone and 1 or 0 return allDone and 1 or 0
end end