From b1498931b13c240a71a9fbfe6e95773d1337a0c7 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Wed, 16 Aug 2017 02:14:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20auto=20effects=20with=20wi?= =?UTF-8?q?sdom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CardInfo.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 46a0f82..a8a5de8 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -116605,9 +116605,9 @@ var CardInfo = { "【常】英知=10:このシグニが正面にアタックする場合、このシグニは正面に加えてその隣のシグニゾーン1つにアタックしてもよい。", ], constEffects: [{ - wisdom: 7, auto: 'onAttack', effect: { + wisdom: 7, actionAsyn: function () { this.player.enerCharge(2); }, @@ -116748,17 +116748,17 @@ var CardInfo = { "【自】英知=6:このシグニがアタックしたとき、あなたのデッキの一番上のカードをエナゾーンに置く。(あなたの場にある<英知>のシグニのレベルの合計がちょうど6であるかぎり有効になる)" ], constEffects: [{ - wisdom: 4, auto: 'onAttack', effect: { + wisdom: 4, actionAsyn: function () { this.player.draw(1); }, }, },{ - wisdom: 6, auto: 'onAttack', effect: { + wisdom: 6, actionAsyn: function () { this.player.enerCharge(1); }, @@ -116825,9 +116825,9 @@ var CardInfo = { "【自】英知=10:このシグニがアタックしたとき、あなたの他のシグニ1体の【自】の【英知】能力1つを発動させる。" ], constEffects: [{ - wisdom: 8, auto: 'onAttack', effect: { + wisdom: 8, actionAsyn: function () { var filter = function (card) { return (card.level <= 3); @@ -116839,9 +116839,9 @@ var CardInfo = { }, }, },{ - wisdom: 10, auto: 'onAttack', effect: { + wisdom: 10, actionAsyn: function () { var effects = []; this.player.signis.forEach(function (signi) { @@ -118225,11 +118225,11 @@ var CardInfo = { add(this,'onAttack',effect); }, },{ - wisdom: 11, auto: function (add,effect) { add(this.player.opponent,'onCrash',effect); }, effect: { + wisdom: 11, costGreen: 2, triggerCondition: function (event) { return (event.source === this); @@ -119892,9 +119892,9 @@ var CardInfo = { set(this,'disableBurst',true); }, },{ - wisdom: 10, auto: 'onAttack', effect: { + wisdom: 10, actionAsyn: function () { var filter = function (card) { return card.hasClass('英知');