- Fixed canPlayFromEffectAI withOutManaCost.

This commit is contained in:
Sloth
2013-06-29 22:15:55 +00:00
parent c811662d6f
commit d015c35912

View File

@@ -59,8 +59,9 @@ public class SpellApiBased extends Spell {
boolean chance = false; boolean chance = false;
if (withOutManaCost) { if (withOutManaCost) {
chance = ai.doTriggerNoCostWithSubs(this.getActivatingPlayer(), this, mandatory); 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(); return chance && super.canPlayAI();
} }
} }