调整堆叠模式平衡

This commit is contained in:
MrZ626
2021-11-03 02:33:31 +08:00
parent e7c777e502
commit 9db62ffc39
5 changed files with 12 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
return{
fieldH=21,
fillClear=false,
mesDisp=function(P)
setFont(60)
@@ -6,12 +7,12 @@ return{
mText(TEXTOBJ.line,63,350)
end,
dropPiece=function(P)
if #P.field>P.gameEnv.fieldH then
if #P.field>20 then
local cc=P:clearFilledLines(P.garbageBeneath+1,#P.field-P.garbageBeneath)
local h=P.gameEnv.fieldH-cc-P.garbageBeneath-3
local h=20-cc-P.garbageBeneath-3
if h>0 then
P:garbageRise(21,h,2e10-1)
if P.garbageBeneath>=P.gameEnv.fieldH then
if P.garbageBeneath>=20 then
P:lose()
end
end