修复marathon_bfmax死亡判定不合适 close #127

This commit is contained in:
MrZ626
2021-07-18 16:16:39 +08:00
parent b0af47a422
commit 41e58e0bd6

View File

@@ -8,13 +8,16 @@ return{
drop=60,wait=8,fall=20, drop=60,wait=8,fall=20,
task=function(P)P.modeData.target=10 end, task=function(P)P.modeData.target=10 end,
dropPiece=function(P) dropPiece=function(P)
if P.combo>1 or P.b2b>0 or P.lastPiece.row>1 then local flag
if P.combo>1 then P:showText("2x",0,-220,40,'flicker',.3)end local l=P.lastPiece
if P.b2b>0 then P:showText("spin",0,-160,40,'flicker',.3)end if P.combo>1 then flag=true;P:showText("2x",0,-220,40,'flicker',.3)end
if P.lastPiece.row>1 then P:showText("1+",0,-100,40,'flicker',.3)end if l.spin then flag=true;P:showText("spin",0,-180,40,'flicker',.3)end
if l.row>1 then flag=true;P:showText("1+",0,-140,40,'flicker',.3)end
if l.pc then flag=true;P:showText("PC",0,-100,40,'flicker',.3)end
if l.hpc then flag=true;P:showText("HPC",0,-100,40,'flicker',.3)end
if flag then
P:lose() P:lose()
return else
end
local T=P.modeData.target local T=P.modeData.target
if P.stat.row>=T then if P.stat.row>=T then
if T==200 then if T==200 then
@@ -26,6 +29,7 @@ return{
SFX.play('reach') SFX.play('reach')
end end
end end
end
end, end,
mindas=7,minarr=1,minsdarr=1, mindas=7,minarr=1,minsdarr=1,
bg='bg2',bgm='blank', bg='bg2',bgm='blank',