mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
[Simulated AI] Remove limitation of playing spells only in MAIN2 which I added a few commits ago.
This commit is contained in:
@@ -82,10 +82,6 @@ public class SpellAbilityPicker {
|
||||
public SpellAbility chooseSpellAbilityToPlay(SimulationController controller) {
|
||||
printOutput = (controller == null);
|
||||
|
||||
if (game.getPhaseHandler().getPhase().isBefore(PhaseType.MAIN2)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Pass if top of stack is owned by me.
|
||||
if (!game.getStack().isEmpty() && game.getStack().peekAbility().getActivatingPlayer().equals(player)) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user