极简率计算更严格
This commit is contained in:
@@ -2289,13 +2289,13 @@ do--player.drop(P)--Place piece
|
||||
if dospin then P.ctrlCount=P.ctrlCount-2 end--Allow 2 more step for roof-less spin
|
||||
local id=CB.id
|
||||
local d=P.ctrlCount-finesseList[id][P.dir+1][CX]
|
||||
finePts=d<=0 and 4 or max(3-d,0)
|
||||
finePts=d<=0 and 5 or max(3-d,0)
|
||||
else
|
||||
finePts=4
|
||||
finePts=5
|
||||
end
|
||||
|
||||
P.stat.finesseRate=P.stat.finesseRate+finePts
|
||||
if finePts<4 then
|
||||
if finePts<5 then
|
||||
P.stat.extraPiece=P.stat.extraPiece+1
|
||||
if ENV.fineKill then
|
||||
P:lose()
|
||||
@@ -2308,7 +2308,7 @@ do--player.drop(P)--Place piece
|
||||
end
|
||||
end
|
||||
end
|
||||
if finePts<2 then
|
||||
if finePts<=1 then
|
||||
P.finesseCombo=0
|
||||
else
|
||||
P.finesseCombo=P.finesseCombo+1
|
||||
|
||||
@@ -2432,7 +2432,7 @@ do--pause
|
||||
format("%d/%d/%d/%d",S.clears[1],S.clears[2],S.clears[3],S.clears[4]),
|
||||
format("(%d)/%d/%d/%d",S.spins[1],S.spins[2],S.spins[3],S.spins[4]),
|
||||
format("%d/%d ; %d/%d",S.b2b,S.b3b,S.pc,S.hpc),
|
||||
format("%d/%dx/%.2f%%",S.extraPiece,S.maxFinesseCombo,S.finesseRate*25/S.piece),
|
||||
format("%d/%dx/%.2f%%",S.extraPiece,S.maxFinesseCombo,S.finesseRate*20/S.piece),
|
||||
},
|
||||
--From right-down, 60 degree each
|
||||
radar={
|
||||
@@ -2483,7 +2483,7 @@ do--pause
|
||||
S.val=B
|
||||
|
||||
if P.result=="WIN"and P.stat.piece>4 then
|
||||
local acc=P.stat.finesseRate*.25/P.stat.piece
|
||||
local acc=P.stat.finesseRate*.2/P.stat.piece
|
||||
S.rank=
|
||||
acc==1. and"Z"or
|
||||
acc>.97 and"S"or
|
||||
@@ -3398,7 +3398,7 @@ do--stat
|
||||
format("%.2f %.2f",S.atk/S.row,S.digatk/S.dig),
|
||||
S.b2b.." "..S.b3b,
|
||||
S.pc.." "..S.hpc,
|
||||
format("%d/%.2f%%",S.extraPiece,S.finesseRate*25/S.piece),
|
||||
format("%d/%.2f%%",S.extraPiece,S.finesseRate*20/S.piece),
|
||||
},
|
||||
}
|
||||
for i=1,11 do
|
||||
|
||||
Reference in New Issue
Block a user