Edit: Argh, sorry guys, I was thinking about the wrong "run all Legion dungeons" requirement, I started this script as a way to track progress towards the Order Hall Set Pants on alts.
However, I guess you can still use this as a "before and after" snapshot for the Challenge Appearances, since you have to apparently repeat that step for each spec, so 4 times for us Druids.
Originally Posted by
Nathanyel
I wrote a script (at home) that is sadly too long for a macro (and might be too long for the chat input without addons)
Can share it later (hope I don't forget)
Right. Basically, the following prints out how many times you have defeated the final bosses of Legion/7.0 dungeons across each difficulty.
First off, this line has to be run initially, as I'm not sure you can read your own Statistics in another way:
Code:
/run SetAchievementComparisonUnit("player")
Additionally, I'm not sure how Violet Hold counts, as it has two possible final bosses.
If both bosses have to be defeated, the following lists both:
Code:
/run local inis={10896,10884,10902,10899,10887,10881,10878,10890,10894}
for _,i in pairs(inis) do
local c = (tonumber(GetComparisonStatistic(i)) or 0) + (tonumber(GetComparisonStatistic(i+1)) or 0) or (tonumber(GetComparisonStatistic(i+2)) or 0)
local n = select(2,GetAchievementInfo(i))
n = n:sub(0,n:find("%(")-2)
print(n..":",c)
end
but if either boss works, here's a version with both combined:
Code:
/run local inis={10896,10884,10902,10899,10887,10881,10878}
for _,i in pairs(inis) do
local c = (tonumber(GetComparisonStatistic(i)) or 0) + (tonumber(GetComparisonStatistic(i+1)) or 0) or (tonumber(GetComparisonStatistic(i+2)) or 0)
local n = select(2,GetAchievementInfo(i))
n = n:sub(0,n:find("%(")-2)
print(n..":",c)
end
local b,s = select(2,GetAchievementInfo(10890)), select(2,GetAchievementInfo(10893))
print(b:sub(0,b:find("%(")-2).."/"..s:sub(0,s:find("%(")-2)..":",(tonumber(GetComparisonStatistic(10890)) or 0) + (tonumber(GetComparisonStatistic(10891)) or 0) or (tonumber(GetComparisonStatistic(10892)) or 0) + (tonumber(GetComparisonStatistic(10893)) or 0) + (tonumber(GetComparisonStatistic(10894)) or 0) or (tonumber(GetComparisonStatistic(10895)) or 0))