From 27b4492599149727439906f35caefc4c74ebddce Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Mon, 20 Nov 2023 11:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=82=E5=BF=83bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/clan.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/character/clan.js b/character/clan.js index 70577a94e..e2a99cc9b 100644 --- a/character/clan.js +++ b/character/clan.js @@ -204,8 +204,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.target=target; var list=[]; for(var name of lib.inpile){ + if(name!='sha'&&get.type(name)!='trick') continue; if(trigger.card.name=='sha'&&get.type(name)!='trick') continue; - if(name=='sha'&&get.type(trigger.card.name)!='trick') continue; + if(name=='sha'&&get.type(trigger.card)!='trick') continue; if(!player.canUse(get.autoViewAs({name:name},[]),target)) continue; list.push([get.translation(get.type(name)),'',name]); }