- canPlayFromEffectAI will now check for NeedsToPlay SVars.

This commit is contained in:
Sloth
2013-03-04 22:14:22 +00:00
parent 906bfaa1b5
commit c6894de100

View File

@@ -60,6 +60,6 @@ public class SpellApiBased extends Spell {
chance = ai.doTriggerNoCostWithSubs((AIPlayer)this.getActivatingPlayer(), this, mandatory);
}
chance = ai.doTriggerAI((AIPlayer)this.getActivatingPlayer(), this, mandatory);
return chance;
return chance && super.canPlayAI();
}
}