mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- canPlayFromEffectAI will now check for NeedsToPlay SVars.
This commit is contained in:
@@ -60,6 +60,6 @@ public class SpellApiBased extends Spell {
|
|||||||
chance = ai.doTriggerNoCostWithSubs((AIPlayer)this.getActivatingPlayer(), this, mandatory);
|
chance = ai.doTriggerNoCostWithSubs((AIPlayer)this.getActivatingPlayer(), this, mandatory);
|
||||||
}
|
}
|
||||||
chance = ai.doTriggerAI((AIPlayer)this.getActivatingPlayer(), this, mandatory);
|
chance = ai.doTriggerAI((AIPlayer)this.getActivatingPlayer(), this, mandatory);
|
||||||
return chance;
|
return chance && super.canPlayAI();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user