玩家上次消行信息lastClear属性改为表,包含更多信息

This commit is contained in:
MrZ626
2020-09-15 00:36:09 +08:00
parent e6fea98822
commit 3c4491ec42
10 changed files with 72 additions and 49 deletions

View File

@@ -1,7 +1,9 @@
local format=string.format
local function tech_check_hard(P)
if #P.clearedRow>0 and P.lastClear<10 or P.lastClear==74 then
P:lose()
if #P.clearedRow>0 then
if not(P.lastClear.spin or P.lastClear.pc)then
P:lose()
end
end
if P.stat.atk>=200 then
P:win("finish")