mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
* World at War - Fixed that its extra Main Phase was not executed (fixes #4382).
This commit is contained in:
parent
b10182ab29
commit
393f8dc9f4
2 changed files with 35 additions and 34 deletions
|
|
@ -58,7 +58,7 @@ public class WorldAtWar extends CardImpl {
|
|||
// After the first postcombat main phase this turn, there's an additional combat phase followed by an additional main phase. At the beginning of that combat, untap all creatures that attacked this turn.
|
||||
this.getSpellAbility().addEffect(new WorldAtWarEffect());
|
||||
|
||||
// Rebound
|
||||
// Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
|
||||
this.addAbility(new ReboundAbility(), new AttackedThisTurnWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -223,6 +223,7 @@ public class Turn implements Serializable {
|
|||
}
|
||||
|
||||
private boolean playExtraPhases(Game game, TurnPhase afterPhase) {
|
||||
while (true) {
|
||||
TurnMod extraPhaseTurnMod = game.getState().getTurnMods().extraPhase(activePlayerId, afterPhase);
|
||||
if (extraPhaseTurnMod == null) {
|
||||
return false;
|
||||
|
|
@ -255,8 +256,8 @@ public class Turn implements Serializable {
|
|||
game.informPlayers(activePlayer.getLogName() + " starts an additional " + phase.getType().toString() + " phase");
|
||||
}
|
||||
phase.play(game, activePlayerId);
|
||||
|
||||
return true;
|
||||
afterPhase = extraPhase;
|
||||
}
|
||||
}
|
||||
|
||||
/*protected void playExtraTurns(Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue