mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[NCC] Implemented Vivien's Stampede
This commit is contained in:
parent
f8244d059b
commit
1cc7405a7b
3 changed files with 122 additions and 2 deletions
|
|
@ -20,12 +20,18 @@ public class AtTheBeginOfMainPhaseDelayedTriggeredAbility extends DelayedTrigger
|
|||
NEXT_PRECOMBAT_MAIN("next precombat main phase"),
|
||||
NEXT_POSTCOMAT_MAIN("next postcombat main phase"),
|
||||
NEXT_MAIN("next main phase"),
|
||||
NEXT_MAIN_THIS_TURN("next main phase this turn");
|
||||
NEXT_MAIN_THIS_TURN("next main phase this turn", Duration.EndOfTurn);
|
||||
|
||||
private final String text;
|
||||
private final Duration duration;
|
||||
|
||||
PhaseSelection(String text) {
|
||||
this(text, Duration.EndOfGame);
|
||||
}
|
||||
|
||||
PhaseSelection(String text, Duration duration) {
|
||||
this.text = text;
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -38,7 +44,7 @@ public class AtTheBeginOfMainPhaseDelayedTriggeredAbility extends DelayedTrigger
|
|||
private final PhaseSelection phaseSelection;
|
||||
|
||||
public AtTheBeginOfMainPhaseDelayedTriggeredAbility(Effect effect, boolean optional, TargetController targetController, PhaseSelection phaseSelection) {
|
||||
super(effect, Duration.EndOfGame, true, optional);
|
||||
super(effect, phaseSelection.duration, true, optional);
|
||||
this.targetController = targetController;
|
||||
this.phaseSelection = phaseSelection;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue