From 7183f342d3944f5bae274a676c00baf60cd438e0 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 18 Nov 2023 22:36:08 +0800 Subject: [PATCH] =?UTF-8?q?prompt=E2=86=92prompt2=EF=BC=8C=E8=A7=82?= =?UTF-8?q?=E6=98=9F=E8=8E=B7=E5=8F=96=E7=89=8C=E6=95=B0+1bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/sb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/character/sb.js b/character/sb.js index f226f0926..52353d519 100644 --- a/character/sb.js +++ b/character/sb.js @@ -364,7 +364,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ return event.player!=player&&player.getStorage('sbkanpo').includes(event.card.name); }, - prompt:function(event,player){ + prompt2:function(event,player){ return '移除'+get.translation(event.card.name)+',令'+get.translation(event.card)+'失效'; }, check:function(event,player){ @@ -414,7 +414,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(cards.length) player.loseToDiscardpile(cards); var bool=player.getAllHistory('useSkill',evt=>evt.skill=='sbguanxing').length>1; var num=Math.min(7,bool?cards.length+1:7); - var cards2=get.cards(num+1); + var cards2=get.cards(num); player.$gain2(cards2,false); game.log(player,'将',cards2,'置于了武将牌上'); player.loseToSpecial(cards2,'sbguanxing').visible=true;