mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed canPlayFromEffectAI withOutManaCost.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
return chance && super.canPlayAI();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user