Add Classic Lunatic mode (#619)

This commit is contained in:
NOT_A_ROBOT
2022-01-20 11:09:50 -08:00
committed by GitHub
parent a7a2124bb6
commit 3956d1d7bc
3 changed files with 41 additions and 5 deletions

23
parts/modes/classic_l.lua Normal file
View File

@@ -0,0 +1,23 @@
return{
env={
center=0,ghost=0,
smooth=false,
face={0,0,2,2,2,0,0},
eventSet='classic_l',
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>=200 and 5 or
L>=140 and 4 or
L>=100 and 3 or
L>=60 and 2 or
L>=30 and 1 or
L>=1 and 0
end,
}