From 1074d1ac64702e1c592b999d6d751bd9bb6b1be1 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=AF=E6=92=92=E3=80=90=E5=BE=81=E6=9C=8D?= =?UTF-8?q?=E3=80=91=E5=BC=B9=E7=AA=97bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/tw.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/character/tw.js b/character/tw.js index 3a3c072c8..ee561a295 100644 --- a/character/tw.js +++ b/character/tw.js @@ -13982,14 +13982,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return 'basic'; }).set('prompt','请选择一种牌的类别').set('target',trigger.target); 'step 1' - trigger.target.chooseCard('he','交给'+get.translation(player)+'一张'+get.translation(result.control)+'牌,否则此【杀】不可被闪避。',function(card){ - return get.type(card,'trick')==_status.event.getParent().result.control; + trigger.target.chooseCard('he','交给'+get.translation(player)+'一张'+get.translation(result.control)+'牌,否则此【杀】不可被闪避',function(card){ + return get.type2(card)==_status.event.control; }).set('ai',function(card){ var num=_status.event.num; if(num==0) return 0; if(card.name=='shan') return num>1?2:0; return 8-get.value(card); - }).set('num',trigger.target.countCards('h','shan')) + }).set('num',trigger.target.countCards('h','shan')).set('control',result.control); 'step 2' if(result.bool){ var cards=result.cards;