forked from mirrors/webxoss-core
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: {
|
artsEffect: {
|
||||||
actionAsyn: function (costArg) {
|
actionAsyn: function (costArg) {
|
||||||
var count = costArg.bet ? 2 : 1;
|
var count = costArg.bet ? 2 : 1;
|
||||||
|
var player = this.player;
|
||||||
var filter = function (card) {
|
var filter = function (card) {
|
||||||
return card.hasSameColorWith(this.player.lrig);
|
return card.hasSameColorWith(player.lrig);
|
||||||
};
|
};
|
||||||
return this.player.pickCardAsyn(filter,0,count);
|
return this.player.pickCardAsyn(filter,0,count);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue