修改堆叠模式玩法(自动清除之前记录)
修改更新历史和build号
This commit is contained in:
21
parts/eventsets/stack_100.lua
Normal file
21
parts/eventsets/stack_100.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return{
|
||||
fillClear=false,
|
||||
dropPiece=function(P)
|
||||
if #P.field>P.gameEnv.fieldH then
|
||||
local cc=P:checkClear(P.field,P.garbageBeneath+1,#P.field-P.garbageBeneath)
|
||||
if cc>0 then
|
||||
SFX.play('clear_'..math.min(cc,6))
|
||||
P:showText(text.clear[cc]or cc.."-crash",0,0,60,'beat',.4)
|
||||
P:removeClearedLines()
|
||||
P.falling=P.gameEnv.fall
|
||||
P.stat.row=P.stat.row+cc
|
||||
end
|
||||
if P.gameEnv.fieldH-cc-P.garbageBeneath>0 then
|
||||
P:garbageRise(21,P.gameEnv.fieldH-cc-P.garbageBeneath,2e10-1)
|
||||
if P.garbageBeneath>=P.gameEnv.fieldH then
|
||||
P:lose()
|
||||
end
|
||||
end
|
||||
end
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user