diff --git a/shootyepgp.toc b/shootyepgp.toc index 25ebff7..6f75d3e 100644 --- a/shootyepgp.toc +++ b/shootyepgp.toc @@ -7,7 +7,7 @@ ## X-Website: https://github.com/cinecom/shootyepgp/ ## X-Category: Guild ## X-Credits: shooty, Qcat(zhCN) -## Version: 10.12 +## Version: 10.13 ## X-Alpha: ## OptionalDeps: Ace2 ## SavedVariables: sepgp_saychannel, sepgp_groupbyclass, sepgp_groupbyarmor, sepgp_groupbyrole, sepgp_raidonly, sepgp_dbver, sepgp_debug, sepgp_fubar, sepgp_sound diff --git a/standings.lua b/standings.lua index ee82775..38a0211 100644 --- a/standings.lua +++ b/standings.lua @@ -591,18 +591,18 @@ function sepgp_standings:OnTooltipUpdate() local text = C:Colorize(BC:GetHexColor(class), name) .. " " .. C:Colorize("aaaaaa", "("..rankName..")") local text2, text4 if sepgp_minep > 0 and ep < sepgp_minep then - text2 = C:Red(string.format("%.4g", ep)) - text4 = C:Red(string.format("%.4g", pr)) + text2 = C:Red(string.format("%d", ep)) + text4 = C:Red(string.format("%.4f", pr)) else - text2 = string.format("%.4g", ep) - text4 = string.format("%.4g", pr) + text2 = string.format("%d", ep) + text4 = string.format("%.4f", pr) end - local text3 = string.format("%.4g", gp) + local text3 = string.format("%d", gp) if ((sepgp._playerName) and sepgp._playerName == name) or ((sepgp_main) and sepgp_main == name) then text = string.format("(*)%s",text) local pr_decay = sepgp:capcalc(ep,gp) if pr_decay < 0 then - text4 = string.format("%s(|cffff0000%.4g|r)",text4,pr_decay) + text4 = string.format("%s(|cffff0000%.4f|r)",text4,pr_decay) end end cat:AddLine(