Implement [APC] Suppress

This commit is contained in:
xenohedron 2023-10-12 20:32:49 -04:00
parent 02c9896774
commit 519ecb35c1
3 changed files with 86 additions and 5 deletions

View file

@ -16,6 +16,7 @@ public class AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility extends Delay
public AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility(Effect effect, UUID playerId) {
super(effect, Duration.Custom, true, false);
this.playerId = playerId;
this.setTriggerPhrase("At the beginning of its owners next end step, ");
}
protected AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility(final AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility ability) {
@ -38,9 +39,4 @@ public class AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility extends Delay
return game.getActivePlayerId().equals(playerId);
}
@Override
public String getRule() {
return "At the beginning of its owners next end step, " + super.getRule();
}
}