Merge remote-tracking branch 'bot/construct-modes'

This commit is contained in:
MrZ_26
2023-10-06 02:49:42 +08:00
23 changed files with 562 additions and 198 deletions

View File

@@ -0,0 +1,21 @@
return {
env={
drop=180,lock=180,
hang=15,
eventSet='construct_sg',
bg='bg2',bgm='race',
},
score=function(P) return {P.modeData.maxRankPts,P.stat.piece} end,
scoreDisp=function(D) return getConstructGradeText(D[1]).." "..D[2].." Pieces" 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 G=P.modeData.maxRankPts
return
G>=23 and 5 or
G>=21 and 4 or
G>=19 and 3 or
G>=15 and 2 or
G>=11 and 1 or
G>=7 and 0
end,
}