SavedInstances

SavedInstances

13M Downloads

Add dragonflight renown

marulovinia opened this issue ยท 4 comments

commented

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?

commented

Yes, SI would be perfect for this. It's such a hassle logging back and forth

commented

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.

commented

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
commented

I think just having them as separate lines would also be fine no? Having them in one line can make it confusing to new players. Also you might not be too interested in tracking all of the renowns.