diff --git a/Mage.Sets/src/mage/cards/c/CountOnLuck.java b/Mage.Sets/src/mage/cards/c/CountOnLuck.java new file mode 100644 index 00000000000..68b850f983c --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/CountOnLuck.java @@ -0,0 +1,32 @@ +package mage.cards.c; + +import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect; +import mage.abilities.triggers.BeginningOfUpkeepTriggeredAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class CountOnLuck extends CardImpl { + + public CountOnLuck(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{R}{R}{R}"); + + // At the beginning of your upkeep, exile the top card of your library. You may play that card this turn. + this.addAbility(new BeginningOfUpkeepTriggeredAbility(new ExileTopXMayPlayUntilEffect(1, Duration.EndOfTurn))); + } + + private CountOnLuck(final CountOnLuck card) { + super(card); + } + + @Override + public CountOnLuck copy() { + return new CountOnLuck(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Aetherdrift.java b/Mage.Sets/src/mage/sets/Aetherdrift.java index 6272b344adf..0900b7c4930 100644 --- a/Mage.Sets/src/mage/sets/Aetherdrift.java +++ b/Mage.Sets/src/mage/sets/Aetherdrift.java @@ -29,6 +29,7 @@ public final class Aetherdrift extends ExpansionSet { cards.add(new SetCardInfo("Boosted Sloop", 190, Rarity.UNCOMMON, mage.cards.b.BoostedSloop.class)); cards.add(new SetCardInfo("Brightfield Mustang", 5, Rarity.COMMON, mage.cards.b.BrightfieldMustang.class)); cards.add(new SetCardInfo("Brightglass Gearhulk", 191, Rarity.MYTHIC, mage.cards.b.BrightglassGearhulk.class)); + cards.add(new SetCardInfo("Count on Luck", 118, Rarity.RARE, mage.cards.c.CountOnLuck.class)); cards.add(new SetCardInfo("Daretti, Rocketeer Engineer", 120, Rarity.RARE, mage.cards.d.DarettiRocketeerEngineer.class)); cards.add(new SetCardInfo("Dismal Backwater", 254, Rarity.COMMON, mage.cards.d.DismalBackwater.class)); cards.add(new SetCardInfo("Earthrumbler", 160, Rarity.UNCOMMON, mage.cards.e.Earthrumbler.class));