修改几乎所有模式名
This commit is contained in:
28
parts/modes/solo_h.lua
Normal file
28
parts/modes/solo_h.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return{
|
||||
color=COLOR.magenta,
|
||||
env={
|
||||
life=2,
|
||||
drop=60,lock=60,
|
||||
freshLimit=15,
|
||||
bg="bg2",bgm="race",
|
||||
},
|
||||
pauseLimit=true,
|
||||
load=function()
|
||||
PLY.newPlayer(1)
|
||||
PLY.newAIPlayer(2,AIBUILDER("9S",6))
|
||||
end,
|
||||
score=function(P)return{P.stat.frame/60}end,
|
||||
scoreDisp=function(D)return toTime(D[1])end,
|
||||
comp=function(a,b)return a[1]<b[1]end,
|
||||
getRank=function(P)
|
||||
if P.result=="WIN"then
|
||||
local T=P.stat.frame/60
|
||||
return
|
||||
T<=50 and 5 or
|
||||
T<=80 and 4 or
|
||||
T<=120 and 3 or
|
||||
T<=180 and 2 or
|
||||
1
|
||||
end
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user