fix Wuxie
This commit is contained in:
parent
85d578610f
commit
e6153cc9c8
|
@ -16486,11 +16486,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(card.name=='wuxie'){
|
if(card.name=='wuxie'){
|
||||||
game.logv(player,[card,cards],[event.getTrigger().card]);
|
game.logv(player,[card,cards],[evt.card]);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
game.logv(player,[card,cards],targets);
|
game.logv(player,[card,cards],targets);
|
||||||
}
|
}
|
||||||
|
game.logv(player,[card,cards],targets);
|
||||||
event.trigger('useCard1');
|
event.trigger('useCard1');
|
||||||
"step 1"
|
"step 1"
|
||||||
event.trigger('yingbian');
|
event.trigger('yingbian');
|
||||||
|
@ -38404,7 +38405,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(Array.isArray(card)){
|
else if(Array.isArray(card)){
|
||||||
node.cards=card[1];
|
node.cards=card[1].slice(0)
|
||||||
card=card[0];
|
card=card[0];
|
||||||
const info=[card.suit||'',card.number||'',card.name||'',card.nature||''];
|
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)];
|
if(!Array.isArray(node.cards)||!node.cards.length) node.cards=[ui.create.card(node,'noclick',true).init(info)];
|
||||||
|
|
Loading…
Reference in New Issue