diff --git a/Mage.Sets/src/mage/cards/w/WaterWings.java b/Mage.Sets/src/mage/cards/w/WaterWings.java new file mode 100644 index 00000000000..e7f31b3e9e4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WaterWings.java @@ -0,0 +1,48 @@ +package mage.cards.w; + +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.effects.common.continuous.SetBasePowerToughnessTargetEffect; +import mage.abilities.keyword.FlyingAbility; +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.TargetControlledCreaturePermanent; + +import java.util.UUID; + +/** + * + * @author Susucr + */ +public final class WaterWings extends CardImpl { + + public WaterWings(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}"); + + // Until end of turn, target creature you control has base power and toughness 4/4 and gains flying and hexproof. + this.getSpellAbility().addEffect( + new SetBasePowerToughnessTargetEffect(4, 4, Duration.EndOfTurn) + .setText("until end of turn, target creature you control has base power and toughness 4/4") + ); + this.getSpellAbility().addEffect( + new GainAbilityTargetEffect(FlyingAbility.getInstance()) + .setText("and gains flying") + ); + this.getSpellAbility().addEffect( + new GainAbilityTargetEffect(HexproofAbility.getInstance()) + .setText("and hexproof") + ); + this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent()); + } + + private WaterWings(final WaterWings card) { + super(card); + } + + @Override + public WaterWings copy() { + return new WaterWings(this); + } +} diff --git a/Mage.Sets/src/mage/sets/WildsOfEldraine.java b/Mage.Sets/src/mage/sets/WildsOfEldraine.java index 145f8fa2b0d..251dabae304 100644 --- a/Mage.Sets/src/mage/sets/WildsOfEldraine.java +++ b/Mage.Sets/src/mage/sets/WildsOfEldraine.java @@ -167,6 +167,7 @@ public final class WildsOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Virtue of Persistence", 115, Rarity.MYTHIC, mage.cards.v.VirtueOfPersistence.class)); cards.add(new SetCardInfo("Voracious Vermin", 116, Rarity.COMMON, mage.cards.v.VoraciousVermin.class)); cards.add(new SetCardInfo("Warehouse Tabby", 117, Rarity.COMMON, mage.cards.w.WarehouseTabby.class)); + cards.add(new SetCardInfo("Water Wings", 77, Rarity.COMMON, mage.cards.w.WaterWings.class)); cards.add(new SetCardInfo("Welcome to Sweettooth", 198, Rarity.UNCOMMON, mage.cards.w.WelcomeToSweettooth.class)); cards.add(new SetCardInfo("Werefox Bodyguard", 39, Rarity.RARE, mage.cards.w.WerefoxBodyguard.class)); cards.add(new SetCardInfo("Will, Scion of Peace", 218, Rarity.MYTHIC, mage.cards.w.WillScionOfPeace.class));