Files
Techmino/parts/modes/classic_u.lua
MrZ_26 06f4bb4e1a 整 理 代 码
(应该没有改到字符串里面的东西吧…)起码不直接影响运行
2022-10-01 11:32:11 +08:00

23 lines
566 B
Lua

return{
env={
center=0,ghost=0,
smooth=false,
face={0,0,2,2,2,0,0},
eventSet='classic_u',
bg='rgb',bgm='1980s',
},
slowMark=true,
score=function(P) return{P.stat.score,P.stat.row} end,
scoreDisp=function(D) return D[1].." "..D[2].." Lines" 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 L=P.stat.row
return
L>=15 and 5 or
L>=10 and 4 or
L>=6 and 3 or
L>=3 and 2 or
L>=1 and 1
end,
}