修复科研模式可以同时触发胜利和失败
This commit is contained in:
@@ -4,6 +4,7 @@ local function tech_check_hard(P)
|
|||||||
if #P.clearedRow>0 then
|
if #P.clearedRow>0 then
|
||||||
if not P.lastClear.special then
|
if not P.lastClear.special then
|
||||||
P:lose()
|
P:lose()
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if P.stat.atk>=200 then
|
if P.stat.atk>=200 then
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ local int=math.floor
|
|||||||
local function tech_check_easy(P)
|
local function tech_check_easy(P)
|
||||||
if #P.clearedRow>0 and P.b2b<40 then
|
if #P.clearedRow>0 and P.b2b<40 then
|
||||||
P:lose()
|
P:lose()
|
||||||
end
|
elseif P.stat.atk>=200 then
|
||||||
if P.stat.atk>=200 then
|
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ local function tech_check_hard(P)
|
|||||||
if #P.clearedRow>0 then
|
if #P.clearedRow>0 then
|
||||||
if not(P.lastClear.spin or P.lastClear.pc)then
|
if not(P.lastClear.spin or P.lastClear.pc)then
|
||||||
P:lose()
|
P:lose()
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if P.stat.atk>=200 then
|
if P.stat.atk>=200 then
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ local int=math.floor
|
|||||||
local function tech_check_easy(P)
|
local function tech_check_easy(P)
|
||||||
if #P.clearedRow>0 and P.b2b<40 then
|
if #P.clearedRow>0 and P.b2b<40 then
|
||||||
P:lose()
|
P:lose()
|
||||||
end
|
elseif P.stat.atk>=200 then
|
||||||
if P.stat.atk>=200 then
|
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ local function tech_check_hard(P)
|
|||||||
if #P.clearedRow>0 then
|
if #P.clearedRow>0 then
|
||||||
if not(P.lastClear.spin or P.lastClear.pc)then
|
if not(P.lastClear.spin or P.lastClear.pc)then
|
||||||
P:lose()
|
P:lose()
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if P.stat.atk>=200 then
|
if P.stat.atk>=200 then
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ local int=math.floor
|
|||||||
local function tech_check_easy(P)
|
local function tech_check_easy(P)
|
||||||
if #P.clearedRow>0 and P.b2b<40 then
|
if #P.clearedRow>0 and P.b2b<40 then
|
||||||
P:lose()
|
P:lose()
|
||||||
end
|
elseif P.stat.atk>=200 then
|
||||||
if P.stat.atk>=200 then
|
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ local function tech_check_hard(P)
|
|||||||
if #P.clearedRow>0 then
|
if #P.clearedRow>0 then
|
||||||
if not(P.lastClear.spin or P.lastClear.pc)then
|
if not(P.lastClear.spin or P.lastClear.pc)then
|
||||||
P:lose()
|
P:lose()
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if P.stat.atk>=200 then
|
if P.stat.atk>=200 then
|
||||||
|
|||||||
Reference in New Issue
Block a user