新增模式环境变量maxOver,允许超屏最大高度可以调整

This commit is contained in:
MrZ626
2021-05-09 22:52:01 +08:00
parent 93e422e1cc
commit bd99556e1e
3 changed files with 4 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ function Player:garbageRise(color,amount,line)--Release n-lines garbage to field
_=self.dropFX[i]
_[3],_[5]=_[3]+amount,_[5]+amount
end
if #self.field>42 then self:lose()end
if #self.field>self.gameEnv.fieldH+self.gameEnv.maxOver then self:lose()end
end
local invList={2,1,4,3,5,6,7}