--QUEST_ACCEPTED QUEST_TURNED_IN function(e) for k, v in ipairs(aura_env.questDatabase) do if IsQuestFlaggedCompleted(v) == false then --print(aura_env.TESTCOMPLETION[k]) --if aura_env.TESTCOMPLETION[k] == false then --print(k, IsQuestFlaggedCompleted(v)) if k < 36 or k > 37 then aura_env.currentQuest = k break elseif (k == 36 and IsQuestFlaggedCompleted(aura_env.questDatabase[37]) == true) or (k == 37 and IsQuestFlaggedCompleted(aura_env.questDatabase[36]) == true) then --elseif (k == 36 and aura_env.TESTCOMPLETION[37] == true) or (k == 37 and aura_env.TESTCOMPLETION[36] == true) then k = 38 end end end --print(aura_env.currentQuest) return true end --DISPLAY function() if aura_env.currentQuest < 89 then return "Progress: " .. aura_env.currentQuest .. "/" .. #aura_env.questDatabase .. "\nCurrent quest: " .. aura_env.questNames[aura_env.currentQuest] .. "\nNext Quest: " .. aura_env.questNames[aura_env.currentQuest + 1] else return "Progress: " .. aura_env.currentQuest .. "/" .. #aura_env.questDatabase .. "\nCurrent quest: " .. aura_env.questNames[aura_env.currentQuest] end end --INIT aura_env.currentQuest = 1 aura_env.questDatabase = { [1] = 47835, [2] = 47867, [3] = 47223, [4] = 47224, [5] = 48440, [6] = 46938, [7] = 47589, [8] = 46297, [9] = 48483, [10] = 47627, [11] = 47641, [12] = 46732, [13] = 46816, [14] = 46839, [15] = 46840, [16] = 46841, [17] = 46842, [18] = 46843, [19] = 48500, [20] = 47431, [21] = 46213, [22] = 40238, [23] = 47541, [24] = 47508, [25] = 47771, [26] = 47526, [27] = 47754, [28] = 47652, [29] = 47653, [30] = 47743, [31] = 49143, [32] = 47287, [33] = 48559, [34] = 48199, [35] = 48200, [36] = 48201, [37] = 48202, [38] = 47473, [39] = 47889, [40] = 47890, [41] = 47891, [42] = 47892, [43] = 47986, [44] = 47987, [45] = 47988, [46] = 47991, [47] = 47990, [48] = 47989, [49] = 47992, [50] = 47993, [51] = 47994, [52] = 48081, [53] = 46815, [54] = 46818, [55] = 46834, [56] = 47066, [57] = 46941, [58] = 47686, [59] = 47882, [60] = 47688, [61] = 47883, [62] = 47689, [63] = 47685, [64] = 47687, [65] = 47690, [66] = 48107, [67] = 48461, [68] = 48344, [69] = 47691, [70] = 47854, [71] = 47995, [72] = 47853, [73] = 48345, [74] = 47855, [75] = 47856, [76] = 47416, [77] = 47238, [78] = 40761, [79] = 47101, [80] = 47180, [81] = 47100, [82] = 47183, [83] = 47184, [84] = 47203, [85] = 47217, [86] = 47218, [87] = 47219, [88] = 47220, [89] = 48560, } aura_env.questNames = { [1] = "The Hand of Fate", [2] = "Two If By Sea", [3] = "Light's Exodus", [4] = "The Vindicaar", [5] = "Into the Night", [6] = "Alone in the Abyss", [7] = "Righteous Fury", [8] = "Overwhelming Power", [9] = "A Stranger's Plea", [10] = "Vengeance", [11] = "Sign of Resistance", [12] = "The Prophet's Gambit", [13] = "Rendezvous", [14] = "From Darkness", [15] = "Prisoners No More", [16] = "Threat Reduction", [17] = "A Strike at the Heart", [18] = "Return to the Vindicaar", [19] = "A Moment of Respite", [20] = "Gathering Light", [21] = "Crystals Not Included", [22] = "A Grim Equation", [23] = "The Best Prevention", [24] = "Fire at Will", [25] = "Locating the Longshot", [26] = "Bringing the Big Guns", [27] = "Lightly Roasted", [28] = "The Light Mother", [29] = "Light's Return", [30] = "The Child of Light and Shadow", [31] = "Essence of the Light Mother", [32] = "The Vindicaar Matrix Core", [33] = "An Offering of Light", [34] = "The Burning Heart", [35] = "Securing a Foothold", [36] = "Reinforce Light's Purchase", [37] = "Reinforce the Veiled Den", [38] = "Sizing Up The Opposition", [39] = "The Speaker Calls", [40] = "Visions of Torment", [41] = "Dire News", [42] = "Storming the Citadel", [43] = "Scars of the Past", [44] = "Preventive Measures", [45] = "Chaos Theory", [46] = "Dark Machinations", [47] = "A Touch of Fel", [48] = "Heralds of Apocalypse", [49] = "Dawn of Justice", [50] = "Lord of the Spire", [51] = "Forming a Bond", [52] = "A Floating Ruin", [53] = "Mac'Aree, Jewel of Argus", [54] = "Defenseless and Afraid", [55] = "Khazaduum, First of His Name", [56] = "Consecrating Ground", [57] = "The Path Forward", [58] = "Not-So-Humble Beginnings", [59] = "Conservation of Magic", [60] = "Invasive Species", [61] = "The Longest Vigil", [62] = "Gatekeeper's Challenge: Tenacity", [63] = "Gatekeeper's Challenge: Cunning", [64] = "Gatekeeper's Challenge: Mastery", [65] = "The Defiler's Legacy", [66] = "The Sigil of Awakening", [67] = "Where They Least Expect It", [68] = "We Have a Problem", [69] = "A Non-Prophet Organization", [70] = "Wrath of the Hight Exarch", [71] = "Overt Ops", [72] = "Flanking Maneuvers", [73] = "Talgath's Forces", [74] = "What Might Have Been", [75] = "Across the Universe", [76] = "Shadow of the Triumvirate", [77] = "The Seat of the Triumvirate", [78] = "Whispers from Oronaar", [79] = "Arkhaan's Prayers", [80] = "The Pulsing Madness", [81] = "Arkhaan's Pain", [82] = "Arkhaan's Plan", [83] = "Arkhaan's Peril", [84] = "Throwing Shade", [85] = "Sources of Darkness", [86] = "The Shadowguard Incursion", [87] = "A Vessel Made Ready", [88] = "A Beacon in the Dark", [89] = "An Offering of Shadow", } aura_env.TESTCOMPLETION = { [1] = true, [2] = true, [3] = true, [4] = true, [5] = true, [6] = true, [7] = true, [8] = true, [9] = true, [10] = true, [11] = true, [12] = true, [13] = true, [14] = true, [15] = true, [16] = true, [17] = true, [18] = true, [19] = true, [20] = true, [21] = true, [22] = true, [23] = true, [24] = true, [25] = true, [26] = true, [27] = true, [28] = true, [29] = true, [30] = true, [31] = true, [32] = true, [33] = true, [34] = true, [35] = true, [36] = false, [37] = true, [38] = true, [39] = true, [40] = true, [41] = true, [42] = true, [43] = true, [44] = true, [45] = true, [46] = true, [47] = true, [48] = true, [49] = false, [50] = false, [51] = false, [52] = false, [53] = false, [54] = false, [55] = false, [56] = false, [57] = false, [58] = false, [59] = false, [60] = false, [61] = false, [62] = false, [63] = false, [64] = false, [65] = false, [66] = false, [67] = false, [68] = false, [69] = false, [70] = false, [71] = false, [72] = false, [73] = false, [74] = false, [75] = false, [76] = false, [77] = false, [78] = false, [79] = false, [80] = false, [81] = false, [82] = false, [83] = false, [84] = false, [85] = false, [86] = false, [87] = false, [88] = false, [89] = false, } WeakAuras.ScanEvents("QUEST_TURNED_IN")