pc判定中“场地为空”的条件改为方块所在高度为1

This commit is contained in:
MrZ626
2021-06-01 22:03:31 +08:00
parent 1bb945e9c7
commit cb3ad51357

View File

@@ -1265,8 +1265,8 @@ do--Player.drop(self)--Place piece
end end
--PC/HPC --PC/HPC
if clear then if clear and cc>=#C.bk then
if #self.field==0 then if CY==1 then
self:showText(text.PC,0,-80,50,'flicker') self:showText(text.PC,0,-80,50,'flicker')
atk=max(atk,min(8+Stat.pc*2,16)) atk=max(atk,min(8+Stat.pc*2,16))
exblock=exblock+2 exblock=exblock+2
@@ -1284,7 +1284,7 @@ do--Player.drop(self)--Place piece
end end
piece.pc=true piece.pc=true
piece.special=true piece.special=true
elseif cc>=#C.bk and(cc>1 or #self.field==self.garbageBeneath)then elseif cc>1 or #self.field==self.garbageBeneath then
self:showText(text.HPC,0,-80,50,'fly') self:showText(text.HPC,0,-80,50,'fly')
atk=atk+4 atk=atk+4
exblock=exblock+2 exblock=exblock+2