forked from External/mage
have separate turn events for extra beginning.
I did check the BEGINNING_PHASE_PRE usage, and found none that wanted to watch the extra beginning phases. Of note, we may want to have separate 'beginning of turn'/'beginning of game' events, if there is ever a way to skip beginning phases.
This commit is contained in:
parent
ff4bd9b430
commit
1ae48593a8
2 changed files with 5 additions and 4 deletions
|
|
@ -21,9 +21,9 @@ public class BeginningPhase extends Phase {
|
|||
|
||||
public BeginningPhase(boolean isExtra) {
|
||||
this.type = TurnPhase.BEGINNING;
|
||||
this.event = EventType.BEGINNING_PHASE;
|
||||
this.preEvent = EventType.BEGINNING_PHASE_PRE;
|
||||
this.postEvent = EventType.BEGINNING_PHASE_POST;
|
||||
this.event = isExtra ? EventType.BEGINNING_PHASE_EXTRA : EventType.BEGINNING_PHASE;
|
||||
this.preEvent = isExtra ? EventType.BEGINNING_PHASE_PRE_EXTRA : EventType.BEGINNING_PHASE_PRE;
|
||||
this.postEvent = isExtra ? EventType.BEGINNING_PHASE_PRE_EXTRA : EventType.BEGINNING_PHASE_POST;
|
||||
this.steps.add(new UntapStep());
|
||||
this.steps.add(new UpkeepStep());
|
||||
this.steps.add(new DrawStep());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue