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,