diff --git a/Mage.Sets/src/mage/cards/e/EncumberedReejerey.java b/Mage.Sets/src/mage/cards/e/EncumberedReejerey.java new file mode 100644 index 00000000000..a2bf6857779 --- /dev/null +++ b/Mage.Sets/src/mage/cards/e/EncumberedReejerey.java @@ -0,0 +1,53 @@ +package mage.cards.e; + +import mage.MageInt; +import mage.abilities.common.BecomesTappedSourceTriggeredAbility; +import mage.abilities.common.EntersBattlefieldAbility; +import mage.abilities.condition.Condition; +import mage.abilities.condition.common.SourceHasCounterCondition; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.effects.common.counter.RemoveCounterSourceEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.counters.CounterType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class EncumberedReejerey extends CardImpl { + + private static final Condition condition = new SourceHasCounterCondition(CounterType.M1M1); + + public EncumberedReejerey(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); + + this.subtype.add(SubType.MERFOLK); + this.subtype.add(SubType.SOLDIER); + this.power = new MageInt(5); + this.toughness = new MageInt(4); + + // This creature enters with three -1/-1 counters on it. + this.addAbility(new EntersBattlefieldAbility( + new AddCountersSourceEffect(CounterType.M1M1.createInstance(3)), + "with three -1/-1 counters on it" + )); + + // Whenever this creature becomes tapped while it has a -1/-1 counter on it, remove a -1/-1 counter from it. + this.addAbility(new BecomesTappedSourceTriggeredAbility( + new RemoveCounterSourceEffect(CounterType.M1M1.createInstance()) + ).withTriggerCondition(condition)); + } + + private EncumberedReejerey(final EncumberedReejerey card) { + super(card); + } + + @Override + public EncumberedReejerey copy() { + return new EncumberedReejerey(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 088d056116a..f2c682c6ed1 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -101,6 +101,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Elder Auntie", 133, Rarity.COMMON, mage.cards.e.ElderAuntie.class)); cards.add(new SetCardInfo("Emptiness", 222, Rarity.MYTHIC, mage.cards.e.Emptiness.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Emptiness", 294, Rarity.MYTHIC, mage.cards.e.Emptiness.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Encumbered Reejerey", 14, Rarity.UNCOMMON, mage.cards.e.EncumberedReejerey.class)); cards.add(new SetCardInfo("Enraged Flamecaster", 135, Rarity.COMMON, mage.cards.e.EnragedFlamecaster.class)); cards.add(new SetCardInfo("Evolving Wilds", 264, Rarity.COMMON, mage.cards.e.EvolvingWilds.class)); cards.add(new SetCardInfo("Explosive Prodigy", 136, Rarity.UNCOMMON, mage.cards.e.ExplosiveProdigy.class));