模式和语言文件移入parts文件夹

This commit is contained in:
MrZ626
2020-11-16 23:59:35 +08:00
parent a43a34fe10
commit 538960ac04
98 changed files with 14 additions and 14 deletions

28
parts/modes/solo_5.lua Normal file
View File

@@ -0,0 +1,28 @@
return{
color=COLOR.lYellow,
env={
life=2,
drop=60,lock=60,
freshLimit=15,
bg="bg2",bgm="race",
},
pauseLimit=true,
load=function()
PLY.newPlayer(1,340,15)
PLY.newAIPlayer(2,965,360,.5,AIBUILDER("CC",7,3,true,50000))
end,
score=function(P)return{P.stat.time}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.time
return
T<=80 and 5 or
T<=110 and 4 or
T<=150 and 3 or
T<=240 and 2 or
1
end
end,
}