From 9acf92d2ac25b7a9a14300725510d27973f112b2 Mon Sep 17 00:00:00 2001 From: kuangthree Date: Sat, 28 Oct 2023 12:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=BE=97=E7=89=8C?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E7=9F=A5=E6=83=85=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/game/game.js b/game/game.js index 4c80243d7..6a1648f11 100644 --- a/game/game.js +++ b/game/game.js @@ -19260,15 +19260,11 @@ var next=owner.lose(map[i][0],ui.special).set('type','gain').set('forceDie',true).set('getlx',false); if(event.visible==true){ next.visible=true; - game.addCardKnower(map[i][0],'everyone'); - }else{ - game.addCardKnower(map[i][1],owner); - game.addCardKnower(map[i][2],'everyone'); } event.relatedLose=next; - } - if(event.cardKnower){ - game.addCardKnower(cards,event.cardKnower); + if(event.cardKnower){ + next.set('cardKnower',event.cardKnower); + } } } else{ @@ -19286,6 +19282,8 @@ var hs=source.getCards('hejsx'); if(hs.contains(cards[i])){ cards.splice(i--,1); + }else{ + cards[i].addKnower(event.visible?'everyone':source); } } }