Files
Techmino/parts/modes/bigbang.lua
MrZ626 9b1f9fa9dd 整理模式代码:
移除无用的pauseLimit
移除重复的模式load函数(自动创建一个玩家)
2021-08-03 02:05:13 +08:00

19 lines
451 B
Lua

return{
color=COLOR.lGray,
env={
drop=1e99,lock=1e99,
holdCount=0,
task=function(P)
while not P.control do YIELD()end
P:pressKey(6)
P:lose()
end,
bg='bg1',bgm='new era',
},
score=function(P)return{P.modeData.event,P.stat.finesseRate*.2/P.stat.piece}end,
scoreDisp=function(D)return("%d Stage %.2f%%"):format(D[1],D[2])end,
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]>b[2]end,
getRank=function()
return 1
end,
}