整理代码

This commit is contained in:
MrZ626
2021-04-28 09:36:22 +08:00
parent 385d376037
commit 28576c2c9a
28 changed files with 92 additions and 105 deletions

View File

@@ -1,4 +1,3 @@
local format=string.format
return{
color=COLOR.lH,
env={
@@ -11,8 +10,8 @@ return{
load=function()
PLY.newPlayer(1)
end,
score=function(P)return{P.modeData.event,P.stat.finesseRate*25/P.stat.piece}end,
scoreDisp=function(D)return D[1].."Stage "..format("%.2f",D[2]).."%"end,
score=function(P)return{P.modeData.event,P.stat.finesseRate*20/P.stat.piece}end,
scoreDisp=function(D)return("%d Stage %.2f%"):format(D[1],D[2])end,
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]>b[2]end,
getRank=function(P)
local W=P.modeData.event