Add dragonflight renown
marulovinia opened this issue ยท 4 comments
Since it's "important" to track certain milestone renown levels on dragonflight reps, could this be added as an option for those who want to track this across alts?
Yeah I've been looking for an addon that tracks this as well, and was hoping SavedInstaces would add it.
There appear to be new CVars that might make this pretty easy
lastRenownForMajorFaction2503
lastRenownForMajorFaction2507
lastRenownForMajorFaction2510
lastRenownForMajorFaction2511
I was thinking it'd be nice to view it in a compact format like the Mythic+ vault string.
eg:
10 / 12 / 8 / 7
might be a string representing 10 Centar, 12 Dragonscale, 8 Valdrakken and 7 Tuskar rep.
I did this recently https://wago.io/zCAWWcTfN/3
relevant function
local function getRenownInfo()
wipe(renownInfo)
local majorFactionIDs = C_MajorFactions.GetMajorFactionIDs(LE_EXPANSION_DRAGONFLIGHT)
for _, v in pairs(majorFactionIDs) do
local level = C_MajorFactions.GetCurrentRenownLevel(v)
local data = C_MajorFactions.GetMajorFactionData(v)
local factionName = data.name
table.insert(renownInfo, { factionName, level })
end
end