整理刚增加的模式的代码

This commit is contained in:
MrZ_26
2022-01-19 02:41:51 +08:00
parent 58d068b776
commit 89134d4f07
2 changed files with 222 additions and 221 deletions

View File

@@ -66,10 +66,12 @@ local function getDas(l)
6
end
local function getGrade()
local gradeList={"9","8","7","6","5","4","3","2","1",
local gradeList={
"9","8","7","6","5","4","3","2","1",
"S1","S2","S3","S4","S5","S6","S7","S8","S9",
"m1","m2","m3","m4","m5","m6","m7","m8","m9",
"M","MK","MV","MO","MM-","MM","MM+","GM-","GM","GM+","TM-","TM","TM+"}
"M","MK","MV","MO","MM-","MM","MM+","GM-","GM","GM+","TM-","TM","TM+"
}
if int_grade==nil then int_grade=0 end
if rollGrades==nil then rollGrades=0 end
return gradeList[math.min(math.floor(int_grade_boosts[int_grade+1]+rollGrades+cools+1-regrets),#gradeList)]
@@ -108,6 +110,7 @@ return{
fall=25,
noTele=true,
das=16,arr=1,
minsdarr=1,
mesDisp=function(P)
gc.setColor(1,1,1,1)
setFont(45)
@@ -242,7 +245,6 @@ return{
isInRollTrans=false
prevDrop70=false
nextSpeedUp=false
local h=false
local decayRate={125,80,80,50,45,45,45,40,40,40,40,40,30,30,30,20,20,20,20,20,15,15,15,15,15,15,15,15,15,15,10,10,10}
local decayTimer=0
while true do

View File

@@ -1,6 +1,7 @@
return{
env={
freshLimit=15,
fieldH=19,
sequence="bagES",
eventSet='master_g',
bg='bg2',bgm='secret7th',
@@ -14,9 +15,7 @@ return{
end
end,
scoreDisp=function(D) return D[1].." "..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,
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.gradePts
return