整理代码
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user