From 6bb51597c838f68dca760629e5ed3347746ab24a Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Mon, 8 Apr 2024 19:43:29 +0800 Subject: [PATCH] bugfix --- mode/guozhan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/guozhan.js b/mode/guozhan.js index 9e37fd2cc..8bc6f99bb 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -4246,7 +4246,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, preHidden:true, async cost(event,trigger,player){ - event.result=await player.chooseCard(get.prompt('fakekeshou'),'弃置两张颜色相同的牌,令即将受到的伤害-1','he',2,card=>{ + event.result=await player.chooseToDiscard(get.prompt('fakekeshou'),'弃置两张颜色相同的牌,令即将受到的伤害-1','he',2,card=>{ return !ui.selected.cards.length||get.color(card)==get.color(ui.selected.cards[0]); }).set('logSkill','fakekeshou').set('complexCard',true).set('ai',card=>{ if(!_status.event.check) return 0;