From a4a340cf2b4d5e340cec4eaae911061292f39dbc Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Wed, 14 Jun 2017 00:02:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20WX16-079=20const?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CardInfo.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 986a917..1a77ccf 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -120389,11 +120389,14 @@ var CardInfo = { ], constEffects: [{ auto: function (add,effect) { - add(this.player.opponent,'onSigniBanished',effect); + this.player.opponent.signis.forEach(function (signi) { + if (!signi.isInfected()) return; + add(signi,'onBanish',effect); + },this); }, effect: { triggerCondition: function (event) { - return event.card.isInfected() && (event.source === this); + return (event.source === this); }, actionAsyn: function () { this.player.draw(1);