Quantcast

This should have been fixed a long time ago

Adrian L Lange [08-06-12 - 11:52]
This should have been fixed a long time ago
Filename
Monomyth.lua
diff --git a/Monomyth.lua b/Monomyth.lua
index 06a4547..b0d72a8 100644
--- a/Monomyth.lua
+++ b/Monomyth.lua
@@ -55,11 +55,11 @@ end)

 -- This should be part of the API, really
 local function IsGossipQuestCompleted(index)
-	return not not select(index * 4, GetGossipActiveQuests())
+	return not not select(((index * 5) - 5) + 4, GetGossipActiveQuests())
 end

 local function IsGossipQuestTrivial(index)
-	return not not select(index * 3, GetGossipAvailableQuests())
+	return not not select(((index * 6) - 6) + 3, GetGossipAvailableQuests())
 end

 local function GetNumGossipCompletedQuests()