添加lockout判负规则(默认关闭)

This commit is contained in:
MrZ626
2021-11-19 02:33:21 +08:00
parent d9db55de44
commit fc74831700
13 changed files with 36 additions and 16 deletions

View File

@@ -31,6 +31,7 @@ return{
drop=60,lock=60,
wait=0,fall=0,
bone=false,
lockout=false,
fieldH=20,heightLimit=1e99,
nextCount=6,nextStartPos=1,
holdMode='hold',holdCount=1,

View File

@@ -1653,7 +1653,7 @@ do
end
--Check height limit
if cc==0 and #self.field>ENV.heightLimit then
if cc==0 and(#self.field>ENV.heightLimit or ENV.lockout and CY>ENV.fieldH)then
finish='lose'
end