mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Improved PlayMain1 AI.
This commit is contained in:
@@ -130,7 +130,8 @@ public class SpellPermanent extends Spell {
|
|||||||
&& ai.getManaPool().totalMana() <= 0
|
&& ai.getManaPool().totalMana() <= 0
|
||||||
&& (game.getPhaseHandler().isPlayerTurn(ai)
|
&& (game.getPhaseHandler().isPlayerTurn(ai)
|
||||||
|| game.getPhaseHandler().getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS_INSTANT_ABILITY)
|
|| game.getPhaseHandler().getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS_INSTANT_ABILITY)
|
||||||
&& !card.hasETBTrigger())) {
|
&& !card.hasETBTrigger())
|
||||||
|
&& !ComputerUtil.castPermanentInMain1(ai, this)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user