修正pc是特殊消除但还是会扣因为最后是普通消除的b2b点数
This commit is contained in:
@@ -1804,6 +1804,17 @@ do
|
|||||||
VOC.play(clearVoice[cc],CHN)
|
VOC.play(clearVoice[cc],CHN)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--PC/HPC check
|
||||||
|
if clear and cc>=#C.bk then
|
||||||
|
if CY==1 then
|
||||||
|
piece.pc=true
|
||||||
|
piece.special=true
|
||||||
|
elseif cc>1 or self.field[#self.field].garbage then
|
||||||
|
piece.hpc=true
|
||||||
|
piece.special=true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
--Normal clear,reduce B2B point
|
--Normal clear,reduce B2B point
|
||||||
if not piece.special then
|
if not piece.special then
|
||||||
self.b2b=max(self.b2b-250,0)
|
self.b2b=max(self.b2b-250,0)
|
||||||
@@ -1824,40 +1835,34 @@ do
|
|||||||
cscore=cscore+min(50*cmb,500)*(2*cc-1)
|
cscore=cscore+min(50*cmb,500)*(2*cc-1)
|
||||||
end
|
end
|
||||||
|
|
||||||
--PC/HPC
|
--PC/HPC effect
|
||||||
if clear and cc>=#C.bk then
|
if piece.pc 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
|
sendTime=sendTime+120
|
||||||
sendTime=sendTime+120
|
if Stat.row+cc>4 then
|
||||||
if Stat.row+cc>4 then
|
self.b2b=self.b2b+800
|
||||||
self.b2b=self.b2b+800
|
cscore=cscore+300*min(6+Stat.pc,10)
|
||||||
cscore=cscore+300*min(6+Stat.pc,10)
|
else
|
||||||
else
|
|
||||||
cscore=cscore+626
|
|
||||||
end
|
|
||||||
Stat.pc=Stat.pc+1
|
|
||||||
if self.sound then
|
|
||||||
SFX.play('pc')
|
|
||||||
VOC.play('perfect_clear',CHN)
|
|
||||||
end
|
|
||||||
piece.pc=true
|
|
||||||
piece.special=true
|
|
||||||
elseif cc>1 or self.field[#self.field].garbage then
|
|
||||||
self:showText(text.HPC,0,-80,50,'fly')
|
|
||||||
atk=atk+4
|
|
||||||
exblock=exblock+2
|
|
||||||
sendTime=sendTime+60
|
|
||||||
self.b2b=self.b2b+100
|
|
||||||
cscore=cscore+626
|
cscore=cscore+626
|
||||||
Stat.hpc=Stat.hpc+1
|
end
|
||||||
if self.sound then
|
Stat.pc=Stat.pc+1
|
||||||
SFX.play('pc')
|
if self.sound then
|
||||||
VOC.play('half_clear',CHN)
|
SFX.play('pc')
|
||||||
end
|
VOC.play('perfect_clear',CHN)
|
||||||
piece.hpc=true
|
end
|
||||||
piece.special=true
|
elseif piece.hpc then
|
||||||
|
self:showText(text.HPC,0,-80,50,'fly')
|
||||||
|
atk=atk+4
|
||||||
|
exblock=exblock+2
|
||||||
|
sendTime=sendTime+60
|
||||||
|
self.b2b=self.b2b+100
|
||||||
|
cscore=cscore+626
|
||||||
|
Stat.hpc=Stat.hpc+1
|
||||||
|
if self.sound then
|
||||||
|
SFX.play('pc')
|
||||||
|
VOC.play('half_clear',CHN)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user