Files
Techmino/parts/modes/survivor_e.lua
2021-11-11 19:14:37 +08:00

22 lines
557 B
Lua

return{
env={
drop=30,lock=45,
freshLimit=10,
eventSet='survivor_e',
bg='glow',bgm='new era',
},
score=function(P)return{P.modeData.wave,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..STRING.time(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(P)
local W=P.modeData.wave
return
W>=100 and 5 or
W>=60 and 4 or
W>=45 and 3 or
W>=30 and 2 or
W>=15 and 1 or
W>=5 and 0
end,
}