mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-01-31 01:39:09 +01:00
fix WX15-029 arts
This commit is contained in:
parent
ced0574dff
commit
48e367e691
1 changed files with 2 additions and 1 deletions
|
@ -105680,8 +105680,9 @@ var CardInfo = {
|
|||
artsEffect: {
|
||||
actionAsyn: function (costArg) {
|
||||
var count = costArg.bet ? 2 : 1;
|
||||
var player = this.player;
|
||||
var filter = function (card) {
|
||||
return card.hasSameColorWith(this.player.lrig);
|
||||
return card.hasSameColorWith(player.lrig);
|
||||
};
|
||||
return this.player.pickCardAsyn(filter,0,count);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue