From cd0d83cf2ac1e2b2fc437da5cebba07be26b14ee Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 9 Oct 2020 22:20:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=91=E7=A0=94=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=8F=AF=E4=BB=A5=E5=90=8C=E6=97=B6=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E8=83=9C=E5=88=A9=E5=92=8C=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modes/tech_finesse2.lua | 1 + modes/tech_hard.lua | 3 +-- modes/tech_hard2.lua | 1 + modes/tech_lunatic.lua | 3 +-- modes/tech_lunatic2.lua | 1 + modes/tech_normal.lua | 3 +-- modes/tech_normal2.lua | 1 + 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modes/tech_finesse2.lua b/modes/tech_finesse2.lua index a7824421..2a2295ef 100644 --- a/modes/tech_finesse2.lua +++ b/modes/tech_finesse2.lua @@ -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 diff --git a/modes/tech_hard.lua b/modes/tech_hard.lua index 703e90b3..02668e9d 100644 --- a/modes/tech_hard.lua +++ b/modes/tech_hard.lua @@ -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 diff --git a/modes/tech_hard2.lua b/modes/tech_hard2.lua index 30b8d6a8..07fdb646 100644 --- a/modes/tech_hard2.lua +++ b/modes/tech_hard2.lua @@ -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 diff --git a/modes/tech_lunatic.lua b/modes/tech_lunatic.lua index 0b7399e7..2009db84 100644 --- a/modes/tech_lunatic.lua +++ b/modes/tech_lunatic.lua @@ -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 diff --git a/modes/tech_lunatic2.lua b/modes/tech_lunatic2.lua index 87c4996a..ab44804c 100644 --- a/modes/tech_lunatic2.lua +++ b/modes/tech_lunatic2.lua @@ -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 diff --git a/modes/tech_normal.lua b/modes/tech_normal.lua index 3c0d426f..c114d3cb 100644 --- a/modes/tech_normal.lua +++ b/modes/tech_normal.lua @@ -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 diff --git a/modes/tech_normal2.lua b/modes/tech_normal2.lua index 1307a9bd..0b33c536 100644 --- a/modes/tech_normal2.lua +++ b/modes/tech_normal2.lua @@ -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