diff --git a/Mage.Sets/src/mage/cards/l/LightspeedSkipping.java b/Mage.Sets/src/mage/cards/l/LightspeedSkipping.java index f628707473..f1b4fe6c31 100644 --- a/Mage.Sets/src/mage/cards/l/LightspeedSkipping.java +++ b/Mage.Sets/src/mage/cards/l/LightspeedSkipping.java @@ -1,4 +1,42 @@ package mage.cards.l; -public class LightspeedSkipping { +import mage.abilities.Mode; +import mage.abilities.effects.common.RemoveFromCombatTargetEffect; +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.keyword.HexproofAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.target.common.TargetAttackingOrBlockingCreature; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author Merlingilb + */ +public class LightspeedSkipping extends CardImpl { + public LightspeedSkipping(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}"); + + //Choose one -- + //* Target creature gains hexproof until end of turn. + this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HexproofAbility.getInstance(), Duration.EndOfTurn)); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + + //* Remove target creature from combat. + Mode mode = new Mode(new RemoveFromCombatTargetEffect()); + mode.addTarget(new TargetAttackingOrBlockingCreature()); + this.getSpellAbility().addMode(mode); + } + + public LightspeedSkipping(final LightspeedSkipping card) { + super(card); + } + + @Override + public LightspeedSkipping copy() { + return new LightspeedSkipping(this); + } }