fix WX15-029 arts

This commit is contained in:
WEBXOSS 2017-05-09 22:13:57 +08:00
parent ced0574dff
commit 48e367e691

View file

@ -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);
}