Show Legendary Cloak upgrade level on alts
speedwaystar opened this issue ยท 10 comments
I like this since Legendary Cloak Level is like APs which're tracked currently.
I want to hold this issue until next reset, to find out if tracking Corruption Resistance is possible.
Should be possible, this weak aura is doing it (do not know if this can be of any use to you)
`function()
local corruptionLevel = GetCorruption() - GetCorruptionResistance()
if corruptionLevel < 0 then
corruptionLevel = 0
end
local output = ""
if aura_env.eqcorruptionids then
for _,corr in pairs(aura_env.eqcorruptionids) do
output = output .. "\n".. corr
end
end
local header = ""
if aura_env.config["mini"] == true then
header = ""
else
header = "Total Corruption: "
end
return header .. corruptionLevel .. output
end`
GetCorruptionResistance
returns Corruption Resistance from Essences either, not only from cloak.
The Cloak has a bonus_id which relates to the corruption level.
id=169223,bonus_id=6577/1472 is +53 corruption
id=169223,bonus_id=6580/1472 is +56 corruption
it then continues following the same pattern (bonus_id=6XXX) up to
id=169223,bonus_id=6603/1472 for +125 corruption.
If that helps in any way.