else
if value < valueMax then
for j = 1, #shorts do
local v = shorts[j]
if valueMax >= v[1] then
return fontString:SetFormattedText(t[3] .. "/" .. v[3], value / t[2], valueMax / v[2])
end
end
end
return fontString:SetFormattedText(t[3], value / t[2])
end
__________________ Retired author of too many addons.
Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions.