From 9e15fa81b183f8e99d6ecee4b63ec808a00f5d5b Mon Sep 17 00:00:00 2001 From: MDYY1 <2741562754@qq.com> Date: Sat, 30 Sep 2023 18:36:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=BAaddJudgeNext=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=89=8C=E7=9A=84=E4=BD=8D=E7=BD=AE=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index a5592a31b..63b487f2b 100644 --- a/game/game.js +++ b/game/game.js @@ -25136,8 +25136,12 @@ if(mod!='unchanged') return mod; return true; }, - addJudgeNext:function(card){ + addJudgeNext:function(card,unlimited){ if(!card.expired){ + if(get.postion(card,true)!=='o'&&get.postion(card,true)!=='j'&&!unlimited){ + game.log('将',card,'移入',this.next,'的判定区失败'); + return; + } var target=this.next; var name=card.viewAs||card.name; var bool=false; From 1020ece0f1a73af5d974c2e13e3f5bea9924be76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=8E=9F?= <98148643+MDYY1@users.noreply.github.com> Date: Sat, 30 Sep 2023 22:03:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/game/game.js b/game/game.js index 63b487f2b..c154f0d2b 100644 --- a/game/game.js +++ b/game/game.js @@ -25138,10 +25138,10 @@ }, addJudgeNext:function(card,unlimited){ if(!card.expired){ - if(get.postion(card,true)!=='o'&&get.postion(card,true)!=='j'&&!unlimited){ - game.log('将',card,'移入',this.next,'的判定区失败'); - return; - } + if(get.postion(card,true)!=='o'&&get.postion(card,true)!=='j'&&!unlimited){ + game.log('将',card,'移入',this.next,'的判定区失败'); + return; + } var target=this.next; var name=card.viewAs||card.name; var bool=false;