fix Wuxie

This commit is contained in:
Spmario233 2023-09-02 17:35:56 +08:00
parent 85d578610f
commit e6153cc9c8
1 changed files with 3 additions and 2 deletions

View File

@ -16486,11 +16486,12 @@
}
}
if(card.name=='wuxie'){
game.logv(player,[card,cards],[event.getTrigger().card]);
game.logv(player,[card,cards],[evt.card]);
}
else{
game.logv(player,[card,cards],targets);
}
game.logv(player,[card,cards],targets);
event.trigger('useCard1');
"step 1"
event.trigger('yingbian');
@ -38404,7 +38405,7 @@
}
}
else if(Array.isArray(card)){
node.cards=card[1];
node.cards=card[1].slice(0)
card=card[0];
const info=[card.suit||'',card.number||'',card.name||'',card.nature||''];
if(!Array.isArray(node.cards)||!node.cards.length) node.cards=[ui.create.card(node,'noclick',true).init(info)];