夜行衣fix

This commit is contained in:
copcap 2023-11-27 09:36:25 +08:00
parent 957756b188
commit b3d6288bb0
No known key found for this signature in database
GPG Key ID: 30E7AB6699451AEE
1 changed files with 4 additions and 1 deletions

View File

@ -784,7 +784,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
name:card?card.name:null, name:card?card.name:null,
target:target, target:target,
card:card card:card
})) return false; })){
const cards=player.getEquips('yexingyi');
if(player.hasSkill('yexingyi_skill',null,false)||!card.cards||!cards.some(cardx=>card.cards.includes(cardx)||ui.selected.cards.includes(cardx))) return false;
}
}, },
}, },
}, },