1
0
Fork 0

💩 coding card effects (WX17 blue)

💩 fix self review (WX17-blue)
This commit is contained in:
WEBXOSS 2017-09-16 02:51:29 +08:00
parent d6e085c6d7
commit 3ceb807775
2 changed files with 984 additions and 468 deletions

File diff suppressed because it is too large Load diff

View file

@ -2157,9 +2157,9 @@ Player.prototype.pickCardAsyn = function (filter,min,max,zone) {
if (!zone) zone = this.trashZone;
var cards = filter? zone.cards.filter(filter) : zone.cards;
return this.selectSomeAsyn('ADD_TO_HAND',cards,min,max).callback(this,function (cards) {
if (!cards.length) return;
if (!cards.length) return [];
return this.opponent.showCardsAsyn(cards).callback(this,function () {
this.game.moveCards(cards,this.handZone);
return this.game.moveCards(cards,this.handZone);
});
});
};