b2b点数计算微调,调整mini判定

This commit is contained in:
MrZ626
2020-09-20 20:14:49 +08:00
parent 6a61d4a0e5
commit 0aacf855fb

View File

@@ -2051,7 +2051,7 @@ function player.cancel(P,N)--Cancel Garbage
return off return off
end end
do--player.drop(P)--Place piece do--player.drop(P)--Place piece
local b2bPoint={50,100,180,300,800} local b2bPoint={50,100,180,1000,1200}
local b2bATK={3,5,8,12,18} local b2bATK={3,5,8,12,18}
local clearSCR={80,200,400} local clearSCR={80,200,400}
local spinSCR={--[blockName][row] local spinSCR={--[blockName][row]
@@ -2122,7 +2122,7 @@ do--player.drop(P)--Place piece
if c==0 then goto NTC end if c==0 then goto NTC end
if P:solid(x-1,y-1)then c=c+1 end if P:solid(x-1,y-1)then c=c+1 end
if P:solid(x+1,y-1)then c=c+1 end if P:solid(x+1,y-1)then c=c+1 end
if c>2 then dospin=dospin+1 end if c>2 then dospin=dospin+2 end
end end
::NTC:: ::NTC::
end end
@@ -2172,9 +2172,11 @@ do--player.drop(P)--Place piece
--Final spin check --Final spin check
if dospin>0 then if dospin>0 then
if cc>0 then if cc>0 then
dospin=dospin+(P.spinLast or 0) if P.spinLast then
if dospin<2 then dospin=dospin+1
mini=CB.id<6 and cc<3 and cc<P.r end
if dospin<3 then
mini=CB.id<6 and cc<P.r
end end
end end
else else
@@ -2326,7 +2328,7 @@ do--player.drop(P)--Place piece
sendTime=60 sendTime=60
atk=cc atk=cc
end end
P.b2b=P.b2b+cc*80-220 P.b2b=P.b2b+cc*100-300
C.special=true C.special=true
else else
C.special=false C.special=false