修复经典模式h和u难度没有干旱计数器 close #546

This commit is contained in:
MrZ626
2021-12-13 03:52:19 +08:00
parent 30748200dd
commit b7b28b4ae3
2 changed files with 2 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ return{
end,
hook_drop=function(P)
local D=P.modeData
D.drought=P.lastPiece.id==7 and 0 or D.drought+1
if P.stat.row>=D.target then
if D.target==110 then
P.gameEnv.drop,P.gameEnv.lock=2,2

View File

@@ -36,6 +36,7 @@ return{
end,
hook_drop=function(P)
local D=P.modeData
D.drought=P.lastPiece.id==7 and 0 or D.drought+1
if P.stat.row>=D.target then
if D.target==100 then
P:win('finish')