minor fix
This commit is contained in:
parent
d114dcf52b
commit
acaa9cc2f1
|
@ -634,7 +634,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
async cost(event,trigger,player){
|
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';
|
return get.type(card)=='basic';
|
||||||
},[1,Infinity]).set('complexSelect',true).set('ai',card=>{
|
},[1,Infinity]).set('complexSelect',true).set('ai',card=>{
|
||||||
const player=get.event('player'),target=get.event().getTrigger().player;
|
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){
|
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';
|
return get.type(card)=='basic';
|
||||||
},[1,Math.min(player.countMark('xijue'),player.maxHp)]).set('complexSelect',true).set('ai',card=>{
|
},[1,Math.min(player.countMark('xijue'),player.maxHp)]).set('complexSelect',true).set('ai',card=>{
|
||||||
const player=get.event('player'),target=get.event().getTrigger().player;
|
const player=get.event('player'),target=get.event().getTrigger().player;
|
||||||
|
|
Loading…
Reference in New Issue