Files
Techmino/modes/zen.lua
2020-04-30 01:22:06 +08:00

44 lines
754 B
Lua

return{
name={
"",
"",
"Zen",
},
level={
"",
"",
"",
},
info={
"不限时200行",
"不限时200行",
"200 lines without any limits",
},
color=color.lightGrey,
env={
drop=120,lock=120,
oncehold=false,target=200,
dropPiece=player.reach_winCheck,
bg="strap",bgm="infinite",
},
load=function()
newPlayer(1,340,15)
end,
mesDisp=function(P,dx,dy)
setFont(70)
local R=200-P.stat.row
mStr(R>=0 and R or 0,-81,280)
end,
score=function(P)return{P.stat.score}end,
scoreDisp=function(D)return tostring(D[1])end,
comp=function(a,b)return a[1]>b[1]end,
getRank=function(P)
local T=P.stat.score
return
T>=126000 and 5 or
T>=100000 and 4 or
T>=60000 and 3 or
T>=30000 and 2 or
T>=10000 and 1
end,
}