From d015c35912ccc98fdca2f79064e989eda7db0b72 Mon Sep 17 00:00:00 2001 From: Sloth Date: Sat, 29 Jun 2013 22:15:55 +0000 Subject: [PATCH] - Fixed canPlayFromEffectAI withOutManaCost. --- src/main/java/forge/card/ability/SpellApiBased.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/forge/card/ability/SpellApiBased.java b/src/main/java/forge/card/ability/SpellApiBased.java index 58d11d040cf..620c4e1d349 100644 --- a/src/main/java/forge/card/ability/SpellApiBased.java +++ b/src/main/java/forge/card/ability/SpellApiBased.java @@ -59,8 +59,9 @@ public class SpellApiBased extends Spell { boolean chance = false; if (withOutManaCost) { chance = ai.doTriggerNoCostWithSubs(this.getActivatingPlayer(), this, mandatory); + } else { + chance = ai.doTriggerAI(this.getActivatingPlayer(), this, mandatory); } - chance = ai.doTriggerAI(this.getActivatingPlayer(), this, mandatory); return chance && super.canPlayAI(); } }