diff --git a/Mage/src/mage/abilities/effects/common/SkipNextUntapTargetEffect.java b/Mage/src/mage/abilities/effects/common/SkipNextUntapTargetEffect.java index 378202330a..b915122ce1 100644 --- a/Mage/src/mage/abilities/effects/common/SkipNextUntapTargetEffect.java +++ b/Mage/src/mage/abilities/effects/common/SkipNextUntapTargetEffect.java @@ -38,18 +38,28 @@ import mage.game.Game; import mage.game.events.GameEvent; import mage.game.events.GameEvent.EventType; +import java.util.HashSet; +import java.util.Set; +import java.util.UUID; + /** - * * @author BetaSteward_at_googlemail.com */ public class SkipNextUntapTargetEffect extends ReplacementEffectImpl { + protected Set usedFor = new HashSet(); + protected int count; + public SkipNextUntapTargetEffect() { super(Duration.OneUse, Outcome.Detriment); } public SkipNextUntapTargetEffect(final SkipNextUntapTargetEffect effect) { super(effect); + for (UUID uuid : effect.usedFor) { + this.usedFor.add(uuid); + } + this.count = effect.count; } @Override @@ -64,16 +74,37 @@ public class SkipNextUntapTargetEffect extends ReplacementEffectImpl