From 1f363da37f805f4084fc1ba677823e03005c8f28 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 9 Jan 2026 17:46:17 -0500 Subject: [PATCH] [ECL] Implement Reluctant Dounguard --- .../src/mage/cards/r/ReluctantDounguard.java | 55 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 56 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/r/ReluctantDounguard.java diff --git a/Mage.Sets/src/mage/cards/r/ReluctantDounguard.java b/Mage.Sets/src/mage/cards/r/ReluctantDounguard.java new file mode 100644 index 00000000000..aa9b237659e --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/ReluctantDounguard.java @@ -0,0 +1,55 @@ +package mage.cards.r; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldAbility; +import mage.abilities.common.EntersBattlefieldAllTriggeredAbility; +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 mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ReluctantDounguard extends CardImpl { + + private static final Condition condition = new SourceHasCounterCondition(CounterType.M1M1); + + public ReluctantDounguard(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}"); + + this.subtype.add(SubType.KITHKIN); + this.subtype.add(SubType.SOLDIER); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // This creature enters with two -1/-1 counters on it. + this.addAbility(new EntersBattlefieldAbility( + new AddCountersSourceEffect(CounterType.M1M1.createInstance(2)), + "with two -1/-1 counters on it" + )); + + // Whenever another creature you control enters while this creature has a -1/-1 counter on it, remove a -1/-1 counter from this creature. + this.addAbility(new EntersBattlefieldAllTriggeredAbility( + new RemoveCounterSourceEffect(CounterType.M1M1.createInstance()), + StaticFilters.FILTER_ANOTHER_CREATURE_YOU_CONTROL + ).withTriggerCondition(condition)); + } + + private ReluctantDounguard(final ReluctantDounguard card) { + super(card); + } + + @Override + public ReluctantDounguard copy() { + return new ReluctantDounguard(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 60184e72d73..059167f08a9 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -226,6 +226,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Prideful Feastling", 238, Rarity.COMMON, mage.cards.p.PridefulFeastling.class)); cards.add(new SetCardInfo("Protective Response", 29, Rarity.UNCOMMON, mage.cards.p.ProtectiveResponse.class)); cards.add(new SetCardInfo("Puca's Eye", 259, Rarity.UNCOMMON, mage.cards.p.PucasEye.class)); + cards.add(new SetCardInfo("Reluctant Dounguard", 31, Rarity.COMMON, mage.cards.r.ReluctantDounguard.class)); cards.add(new SetCardInfo("Requiting Hex", 116, Rarity.UNCOMMON, mage.cards.r.RequitingHex.class)); cards.add(new SetCardInfo("Rhys, the Evermore", 32, Rarity.RARE, mage.cards.r.RhysTheEvermore.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Rhys, the Evermore", 354, Rarity.RARE, mage.cards.r.RhysTheEvermore.class, NON_FULL_USE_VARIOUS));