Files
Techmino/parts/modes/survivor_e.lua
MrZ_26 06f4bb4e1a 整 理 代 码
(应该没有改到字符串里面的东西吧…)起码不直接影响运行
2022-10-01 11:32:11 +08:00

22 lines
565 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,
}