修复OL谋袁绍【合讨】不能弃置装备牌的bug
This commit is contained in:
parent
4600f47695
commit
bc3c3021c2
|
@ -52,8 +52,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
const {result:{bool,cards,targets}}=await player.chooseCardTarget({
|
||||
prompt:get.prompt('olsbhetao'),
|
||||
filterCard(card,player){
|
||||
return get.color(card)==get.color(get.event().getTrigger().card);
|
||||
return get.color(card)==get.color(get.event().getTrigger().card)&&lib.filter.cardDiscardable(card,player);
|
||||
},
|
||||
position:'he',
|
||||
filterTarget(card,player,target){
|
||||
return get.event().getTrigger().targets.includes(target);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue