mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-01-31 01:39:09 +01:00
fix wx15-029, select signi only
This commit is contained in:
parent
3e86bfb2ec
commit
7b1d9d7760
1 changed files with 2 additions and 1 deletions
|
@ -105712,7 +105712,8 @@ var CardInfo = {
|
||||||
var count = costArg.bet ? 2 : 1;
|
var count = costArg.bet ? 2 : 1;
|
||||||
var player = this.player;
|
var player = this.player;
|
||||||
var filter = function (card) {
|
var filter = function (card) {
|
||||||
return card.hasSameColorWith(player.lrig);
|
return (card.type === 'SIGNI') &&
|
||||||
|
(card.hasSameColorWith(player.lrig));
|
||||||
};
|
};
|
||||||
return this.player.pickCardAsyn(filter,0,count);
|
return this.player.pickCardAsyn(filter,0,count);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue