From cee7aaa75c816d5f541024a4b0416c7877e5284e Mon Sep 17 00:00:00 2001 From: deardrops Date: Thu, 28 Sep 2017 22:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=20apply=20reviews=20(WX17=20PR)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CardInfo.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 7bca810..0361af2 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -124151,15 +124151,13 @@ var CardInfo = { "あなたのシグニ1体をバニッシュする。そうした場合、あなたのデッキの一番上のカードをエナゾーンに置き、このカードをゲームから除外する。" ], artsEffect: [{ - actionAsyn: function () { + actionAsyn: function (costArg,control) { + control.excludeAfterUse = true; // TODO: ... return this.player.selectSelfSigniAsyn().callback(this,function (card) { if (!card) return; return card.banishAsyn().callback(this,function (succ) { if (!succ) return; this.player.draw(1); - return this.player.opponent.showCardsAsyn([this]).callback(this,function () { - this.exclude(); - }); }); }); }, @@ -131534,7 +131532,7 @@ var CardInfo = { return this.player.pickCardAsyn(filter,0,1).callback(this,function (cards) { if (!cards.length) return; if (cards[0].hasColor('black')) { - this.game.moveCards([this],this.player.lrigDeck); + this.moveTo(this.player.lrigDeck) // TODO: 不能再使用这张卡 } }); @@ -131699,6 +131697,9 @@ var CardInfo = { var done = false; return Callback.loop(this,3,function () { if (done) return; + cards_summon = cards_summon.filter(function (card) { + return card.canSummon(); + }); return this.player.selectOptionalAsyn('SUMMON_SIGNI',cards_summon).callback(this,function (card) { if (!card) { done = true; @@ -131717,6 +131718,7 @@ var CardInfo = { },{ actionAsyn: function () { var cards = this.player.opponent.trashZone.cards; + if (!cards.length) return; return this.player.selectSomeAsyn('TARGET',cards,0,3).callback(this,function (cards) { return this.player.opponent.showCardsAsyn(cards).callback(this,function () { this.game.excludeCards(cards); @@ -131726,6 +131728,7 @@ var CardInfo = { },{ actionAsyn: function () { var cards = this.player.trashZone.cards; + if (!cards.length) return; return this.player.selectSomeAsyn('TARGET',cards,0,3).callback(this,function (cards) { return this.player.opponent.showCardsAsyn(cards).callback(this,function () { this.game.moveCards(cards,this.player.mainDeck);