From 93c3ee1546d5e70bcaa910fcca2e1d785d8b8646 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 16 Mar 2024 13:44:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=B8=91=E3=80=90=E7=8B=AD=E5=8B=87?= =?UTF-8?q?=E3=80=91bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/tw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/tw.js b/character/tw.js index 57b04854e..2a38c0468 100644 --- a/character/tw.js +++ b/character/tw.js @@ -638,7 +638,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter(event,player){ if(event.getParent().type!='card'||event.card.name!='juedou'||!event.player.isIn()) return false; const evt=game.getGlobalHistory('useCard',evt=>evt.card==event.card)[0]; - return evt&&evt.player!=event.player&&(event.player!=player||player.countCards('h')); + return evt&&evt.player!=event.player&&[evt.player,event.player].includes(player)&&(event.player!=player||player.countCards('h')); }, forced:true, logTarget:'player',