diff --git a/parts/modes/master_extra.lua b/parts/modes/master_extra.lua index 0ef3c34d..93b0076b 100644 --- a/parts/modes/master_extra.lua +++ b/parts/modes/master_extra.lua @@ -1,12 +1,12 @@ -local sectionName={"D","C","B","A","A+","S-","S","S+","SS","SS","SS","U","U","U","X"} +local sectionName={"D","C","B","A","A+","S-","S","S+","S+","SS","SS","U","U","X","X+"} +local passPoint=16 local function score(P) - --If Less then X - if P.modeData.rankScore<130 then + if P.modeData.rankPoint<130 then--If Less then X local R=#P.clearedRow if R>0 then - if R==4 then R=10 end--Techrash bonus - P.modeData.rankScore=math.min(P.modeData.rankScore+R,130) - P.modeData.rankName=sectionName[math.floor(P.modeData.rankScore/10)+1] + if R==4 then R=10 end--Techrash +10 + P.modeData.rankPoint=math.min(P.modeData.rankPoint+R,130-passPoint) + P.modeData.rankName=sectionName[math.floor(P.modeData.rankPoint/10)+1] end end end @@ -29,7 +29,7 @@ return{ while true do YIELD() if P.stat.frame>=3600 then - P.modeData.rankScore=math.min(P.modeData.rankScore+16,140) + P.modeData.rankScore=math.min(P.modeData.rankScore+passPoint,130) P.modeData.rankName=sectionName[math.floor(P.modeData.rankScore*.1)+1] P:win('finish') return @@ -53,7 +53,7 @@ return{ mStr(P.stat.clears[4],69,340) end, score=function(P)return{P.modeData.rankScore,P.stat.score}end, - scoreDisp=function(D)return sectionName[math.floor(D[1]*.1)+1].." "..D[2]end, + scoreDisp=function(D)return sectionName[math.floor(D[1]/10)+1].." "..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) P=P.modeData.rankScore