diff --git a/Mage.Sets/src/mage/cards/y/YaroksWavecrasher.java b/Mage.Sets/src/mage/cards/y/YaroksWavecrasher.java new file mode 100644 index 0000000000..46532194de --- /dev/null +++ b/Mage.Sets/src/mage/cards/y/YaroksWavecrasher.java @@ -0,0 +1,43 @@ +package mage.cards.y; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.ReturnToHandTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author JayDi85 + */ +public final class YaroksWavecrasher extends CardImpl { + + public YaroksWavecrasher(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}"); + this.subtype.add(SubType.ELEMENTAL); + + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // When Yarok’s Wavecrasher enters the battlefield, return another creature you control to its owner’s hand. + Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), false); + ability.addTarget(new TargetPermanent(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE)); + this.addAbility(ability); + } + + public YaroksWavecrasher(final YaroksWavecrasher card) { + super(card); + } + + @Override + public YaroksWavecrasher copy() { + return new YaroksWavecrasher(this); + } +} + diff --git a/Mage.Sets/src/mage/sets/CoreSet2020.java b/Mage.Sets/src/mage/sets/CoreSet2020.java index efc35184b1..49580ad51d 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2020.java +++ b/Mage.Sets/src/mage/sets/CoreSet2020.java @@ -337,6 +337,7 @@ public final class CoreSet2020 extends ExpansionSet { cards.add(new SetCardInfo("Woodland Mystic", 344, Rarity.COMMON, mage.cards.w.WoodlandMystic.class)); cards.add(new SetCardInfo("Yanling's Harbinger", 289, Rarity.RARE, mage.cards.y.YanlingsHarbinger.class)); cards.add(new SetCardInfo("Yarok's Fenlurker", 123, Rarity.UNCOMMON, mage.cards.y.YaroksFenlurker.class)); + cards.add(new SetCardInfo("Yarok's Wavecrasher", 81, Rarity.UNCOMMON, mage.cards.y.YaroksWavecrasher.class)); cards.add(new SetCardInfo("Yarok, the Desecrated", 220, Rarity.MYTHIC, mage.cards.y.YarokTheDesecrated.class)); cards.add(new SetCardInfo("Yoked Ox", 41, Rarity.COMMON, mage.cards.y.YokedOx.class)); cards.add(new SetCardInfo("Zephyr Charge", 82, Rarity.COMMON, mage.cards.z.ZephyrCharge.class));