From acaa9cc2f18f22617a1f733389cfa63bc7596975 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Fri, 5 Apr 2024 22:57:00 +0800 Subject: [PATCH] minor fix --- mode/guozhan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/guozhan.js b/mode/guozhan.js index 4811a8847..0d3f449b5 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -634,7 +634,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }); }, async cost(event,trigger,player){ - event.result=await player.chooseToDiscard(get.prompt('fakexiaoguo',trigger.player),(card,player)=>{ + event.result=await player.chooseToDiscard(get.prompt2('fakexiaoguo',trigger.player),(card,player)=>{ return get.type(card)=='basic'; },[1,Infinity]).set('complexSelect',true).set('ai',card=>{ const player=get.event('player'),target=get.event().getTrigger().player; @@ -3157,7 +3157,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }); }, async cost(event,trigger,player){ - event.result=await player.chooseToDiscard(get.prompt('fakexijue_xiaoguo',trigger.player),(card,player)=>{ + event.result=await player.chooseToDiscard(get.prompt2('fakexijue_xiaoguo',trigger.player),(card,player)=>{ return get.type(card)=='basic'; },[1,Math.min(player.countMark('xijue'),player.maxHp)]).set('complexSelect',true).set('ai',card=>{ const player=get.event('player'),target=get.event().getTrigger().player;