修复科研模式可以同时触发胜利和失败

This commit is contained in:
MrZ626
2020-10-09 22:20:50 +08:00
parent c506de8b5b
commit cd0d83cf2a
7 changed files with 7 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ local function tech_check_hard(P)
if #P.clearedRow>0 then
if not P.lastClear.special then
P:lose()
return
end
end
if P.stat.atk>=200 then

View File

@@ -3,8 +3,7 @@ local int=math.floor
local function tech_check_easy(P)
if #P.clearedRow>0 and P.b2b<40 then
P:lose()
end
if P.stat.atk>=200 then
elseif P.stat.atk>=200 then
P:win("finish")
end
end

View File

@@ -4,6 +4,7 @@ local function tech_check_hard(P)
if #P.clearedRow>0 then
if not(P.lastClear.spin or P.lastClear.pc)then
P:lose()
return
end
end
if P.stat.atk>=200 then

View File

@@ -3,8 +3,7 @@ local int=math.floor
local function tech_check_easy(P)
if #P.clearedRow>0 and P.b2b<40 then
P:lose()
end
if P.stat.atk>=200 then
elseif P.stat.atk>=200 then
P:win("finish")
end
end

View File

@@ -4,6 +4,7 @@ local function tech_check_hard(P)
if #P.clearedRow>0 then
if not(P.lastClear.spin or P.lastClear.pc)then
P:lose()
return
end
end
if P.stat.atk>=200 then

View File

@@ -3,8 +3,7 @@ local int=math.floor
local function tech_check_easy(P)
if #P.clearedRow>0 and P.b2b<40 then
P:lose()
end
if P.stat.atk>=200 then
elseif P.stat.atk>=200 then
P:win("finish")
end
end

View File

@@ -4,6 +4,7 @@ local function tech_check_hard(P)
if #P.clearedRow>0 then
if not(P.lastClear.spin or P.lastClear.pc)then
P:lose()
return
end
end
if P.stat.atk>=200 then