Files
Techmino/modes/zen.lua
2020-02-12 23:49:24 +08:00

44 lines
774 B
Lua

return{
name={
"",
"",
"Zen",
},
level={
"时间杀手 I",
"时间杀手 I",
"Time Killer I",
},
info={
"不限时200行",
"不限时200行",
"200 lines without any limits",
},
color=color.lightGrey,
env={
drop=1e99,lock=1e99,
oncehold=false,target=200,
dropPiece=Event.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,-82,280)
end,
score=function(P)return{P.stat.score}end,
scoreDisp=function(D)return D[1]end,
comp=function(a,b)return a[1]>b[1]end,
getRank=function(P)
local T=P.stat.score
return
T>=1e5 and 5 or
T>=8e4 and 4 or
T>=5e4 and 3 or
T>=2e4 and 2 or
T>=1e4 and 1
end,
}