修复科研模式可以同时触发胜利和失败
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user