From edecb21267e45ade9304f30acd46a310ac1916a0 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Tue, 30 Jan 2024 23:14:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=93=84=E8=B0=8B=E7=89=8C?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E8=BF=87=E7=A8=8B=E4=B8=AD=E8=A2=AB=E8=AE=A4?= =?UTF-8?q?=E4=B8=BA=E5=8F=AF=E8=A7=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/element/content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/noname/library/element/content.js b/noname/library/element/content.js index 60d6a78fb..f5907ec2f 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -8114,10 +8114,12 @@ export const Content = { }, addJudge: function () { "step 0"; + const cardName = typeof card == 'string' ? card : card.name , cardInfo = lib.card[cardName]; if (cards) { var owner = get.owner(cards[0]); if (owner) { - event.relatedLose = owner.lose(cards, 'visible', ui.special).set('getlx', false); + event.relatedLose = owner.lose(cards, ui.special).set('getlx', false); + if (cardInfo && !cardInfo.blankCard) event.relatedLose.set('visible',true); } else if (get.position(cards[0]) == 'c') event.updatePile = true; }