From c0292bf7affad44958ee9207d973f93665a3960d Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:27:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=8F=E8=8D=80=E6=94=B8=20=E3=80=90?= =?UTF-8?q?=E7=99=BE=E5=87=BA=E3=80=91=E8=B0=83=E6=95=B4=E4=B8=BA=E7=BA=BF?= =?UTF-8?q?=E4=B8=8A=E5=AE=9E=E6=93=8D=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/clan.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/character/clan.js b/character/clan.js index bff00bcbd..1ed2f5e98 100644 --- a/character/clan.js +++ b/character/clan.js @@ -48,9 +48,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, content:function(){ 'step 0' - if(player.getStorage('clanbaichu').contains(trigger.card.name)){ - event.draw=true; - } if(get.suit(trigger.card)!='none'){ var str=(get.suit(trigger.card)+'+'+get.type2(trigger.card)); if(player.getStorage('clanbaichu').contains(str)){ @@ -68,6 +65,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var dialog=['请选择【百出】记录的普通锦囊牌牌名',[list,'vcard']]; player.chooseButton(dialog,true).set('ai',function(button){ var player=_status.event.player,name=button.link[2]; + if(name==_status.event.getTrigger().card.name) return 1919810; if(name=='wuxie') return 114514; return get.effect(player,{name:name},player,player)*(1+player.countCards('hs',name)); }); @@ -85,7 +83,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.delayx(); } 'step 2' - if(event.draw) player.chooseDrawRecover(true); + if(player.getStorage('clanbaichu').contains(trigger.card.name)) player.chooseDrawRecover(true); }, intro:{ markcount:()=>0,