Skip to content

Commit

Permalink
update scoretab to show distinction between wife2/3 rescore/not rescore
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 7, 2020
1 parent 22b6b85 commit 63c5798
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,16 @@ local l =
if score:GetWifeScore() == 0 then
self:settextf("NA")
else
self:settextf("%05.2f%%", notShit.floor(score:GetWifeScore() * 10000) / 100):diffuse(byGrade(score:GetWifeGrade()))
local wv = score:GetWifeVers()
local ws = "Wife" .. wv .. " J"
local judge = 4
if PREFSMAN:GetPreference("SortBySSRNormPercent") == false then
judge = table.find(ms.JudgeScalers, notShit.round(score:GetJudgeScale(), 2))
end
if not judge then judge = 4 end
local js = judge ~= 9 and judge or "ustice"
local perc = score:GetWifeScore() * 100
self:settextf("%05.2f%% (%s)", notShit.floor(perc, 2), ws .. js):diffuse(byGrade(score:GetWifeGrade()))
end
end
},
Expand Down

0 comments on commit 63c5798

Please sign in to comment.