From 8316eb843fc5a2bc64704f17ce697d124b19c651 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Sun, 30 Oct 2016 17:27:55 +0800 Subject: [PATCH] Fix WX13 white cards (expect Shashe cards). WX13-008 Class WX13-039 Const WX13-040 Const PR-292 Spell --- CardInfo.js | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 0be2e5d..da1e66a 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -108482,7 +108482,8 @@ var CardInfo = { "imgUrl": "http://www.takaratomy.co.jp/products/wixoss/wxwp/images/card/WX13/WX13-008.jpg", "illust": "鈴木マナツ", "classes": [ - "リメンバ/ピルルク" + "リメンバ", + "ピルルク" ], "costWhite": 1, "costBlack": 0, @@ -110718,9 +110719,6 @@ var CardInfo = { "[Constant]: When this SIGNI attacks, return 1 of your opponent's frozen SIGNI to their hand." ], constEffects: [{ - condition: function () { - - }, action: function (set,add) { var effect = this.game.newEffect({ source: this, @@ -110818,21 +110816,16 @@ var CardInfo = { action: function (set,add) { var effect = this.game.newEffect({ source: this, - description: '1810-const-1', + description: '1810-const-0', costWhite: 1, costAsyn: function () { this.exclude(); - var cards = this.player.trashZone.cards; - return this.player.selectAsyn('TARGET',cards).callback(this,function (card) { - if (!card) return; - card.exclude(); - }); }, triggerCondition: function (event) { return inArr(event.card,this.player.opponent.signis); }, actionAsyn: function () { - return this.player.opponent.showEffectsAsyn([effect]).callback(this,function () { + return this.player.opponent.showCardsAsyn([this]).callback(this,function () { return this.player.selectOpponentSigniAsyn().callback(this,function (card) { if (!card) return; return card.bounceAsyn(); @@ -115021,7 +115014,7 @@ var CardInfo = { costChange: function () { var obj = Object.create(this); obj.costChange = null; - var cards = this.player.signis.filter(function (signi) { + var cards = this.player.opponent.signis.filter(function (signi) { return !signi.hasAbility(); },this); obj.costWhite -= cards.length;