新增无摩擦模式(隐藏,入口位于设置语音处立绘)
This commit is contained in:
31
parts/modes/sprintSmooth.lua
Normal file
31
parts/modes/sprintSmooth.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
return{
|
||||
color=COLOR.green,
|
||||
env={
|
||||
drop=0,lock=120,
|
||||
nextCount=3,
|
||||
das=0,arr=0,
|
||||
dropPiece=function(P)if P.stat.row>=40 then P:win('finish')end end,
|
||||
bg='aura',bgm='waterfall',
|
||||
},
|
||||
load=function()
|
||||
PLY.newPlayer(1)
|
||||
end,
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=40-P.stat.row
|
||||
if r<0 then r=0 end
|
||||
mStr(r,69,265)
|
||||
PLY.draw.drawTargetLine(P,r)
|
||||
end,
|
||||
getRank=function(P)
|
||||
if P.stat.row<40 then return end
|
||||
local T=P.stat.time
|
||||
return
|
||||
T<=40 and 5 or
|
||||
T<=50 and 4 or
|
||||
T<=70 and 3 or
|
||||
T<=100 and 2 or
|
||||
T<=150 and 1 or
|
||||
0
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user