diff --git a/Card.js b/Card.js index 21473fd..35a72cb 100644 --- a/Card.js +++ b/Card.js @@ -1139,6 +1139,11 @@ Card.prototype.moveTo = function (zone,arg) { return moveEvent; }; +Card.prototype.moveToAsyn = function(zone,arg) { + if (!arg) arg = {}; + return this.game.moveCardsAdvancedAsyn([this],[zone],[arg]); +}; + Card.prototype.changeSigniZone = function (zone) { if (!inArr(this,this.player.signis)) { console.warn('card.changeSigniZone: card is not a SIGNI!'); diff --git a/CardInfo.js b/CardInfo.js index f558474..807160b 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -116749,7 +116749,7 @@ var CardInfo = { }; return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) { if (!card) return; - return this.game.moveCardsAdvancedAsyn([card],[this.player.opponent.enerZone],[{}]); + return card.moveToAsyn(card.player.enerZone); }); }, }, @@ -125435,7 +125435,7 @@ var CardInfo = { }; return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) { if (!card) return; - return this.game.moveCardsAdvancedAsyn([card],[this.player.opponent.enerZone],[{}]); + return card.moveToAsyn(card.player.enerZone); }); }, }, @@ -129054,8 +129054,7 @@ var CardInfo = { }; return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) { if (!card) return; - // TODO: ... - return this.game.moveCardsAdvancedAsyn([card],[this.player.opponent.enerZone],[{}]); + return card.moveToAsyn(card.player.enerZone); }); }, },