diff --git a/Mage.Sets/src/mage/sets/fifthedition/Stasis.java b/Mage.Sets/src/mage/sets/fifthedition/Stasis.java index 330a0a2942..60ba48c5e5 100644 --- a/Mage.Sets/src/mage/sets/fifthedition/Stasis.java +++ b/Mage.Sets/src/mage/sets/fifthedition/Stasis.java @@ -34,7 +34,7 @@ import mage.abilities.Ability; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.mana.ManaCostsImpl; -import mage.abilities.effects.ReplacementEffectImpl; +import mage.abilities.effects.ContinuousRuleModifiyingEffectImpl; import mage.abilities.effects.common.SacrificeSourceUnlessPaysEffect; import mage.cards.CardImpl; import mage.game.Game; @@ -71,11 +71,11 @@ public class Stasis extends CardImpl { } } -class SkipUntapStepEffect extends ReplacementEffectImpl { +class SkipUntapStepEffect extends ContinuousRuleModifiyingEffectImpl { public SkipUntapStepEffect() { - super(Duration.WhileOnBattlefield, Outcome.Neutral); - staticText = "Players skip their untap steps"; + super(Duration.WhileOnBattlefield, Outcome.Neutral, false, false); + staticText = "Players skip their uptap steps"; } public SkipUntapStepEffect(final SkipUntapStepEffect effect) { @@ -87,24 +87,11 @@ class SkipUntapStepEffect extends ReplacementEffectImpl { return new SkipUntapStepEffect(this); } - @Override - public boolean apply(Game game, Ability source) { - return true; - } - - @Override - public boolean replaceEvent(GameEvent event, Ability source, Game game) { - return true; - } - - @Override - public boolean checksEventType(GameEvent event, Game game) { - return event.getType() == GameEvent.EventType.UNTAP_STEP; - } - @Override public boolean applies(GameEvent event, Ability source, Game game) { Player controller = game.getPlayer(source.getControllerId()); - return controller != null && controller.getInRange().contains(event.getPlayerId()); + return event.getType() == GameEvent.EventType.UNTAP_STEP + && controller != null + && controller.getInRange().contains(event.getPlayerId()); } -} \ No newline at end of file +}