forked from External/mage
fix Obeka, Splitter of Seconds (#12085)
Now adding BeginningPhases with all but Upkeep skipped. Previously upkeep steps were added during combat phase, which was incorrect. fix #12085
This commit is contained in:
parent
add0fa4f58
commit
8a29dcc735
5 changed files with 46 additions and 7 deletions
|
|
@ -263,6 +263,10 @@ public class Turn implements Serializable {
|
|||
default:
|
||||
throw new IllegalArgumentException("Unknown phase type: " + extraPhase);
|
||||
}
|
||||
PhaseStep skipAllButExtraStep = extraPhaseMod.getSkipAllButExtraStep();
|
||||
if (skipAllButExtraStep != null) {
|
||||
phase.keepOnlyStep(skipAllButExtraStep);
|
||||
}
|
||||
currentPhase = phase;
|
||||
game.fireEvent(new PhaseChangedEvent(activePlayerId, extraPhaseMod));
|
||||
Player activePlayer = game.getPlayer(activePlayerId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue