[ECL] Implement Loch Mare

This commit is contained in:
theelk801 2026-01-08 14:13:36 -05:00
parent 81edd3b947
commit 4460a9d6ac
2 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,64 @@
package mage.cards.l;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.RemoveCountersSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.TapTargetEffect;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class LochMare extends CardImpl {
public LochMare(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}");
this.subtype.add(SubType.HORSE);
this.subtype.add(SubType.SERPENT);
this.power = new MageInt(4);
this.toughness = new MageInt(5);
// 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"
));
// {1}{U}, Remove a counter from this creature: Draw a card.
Ability ability = new SimpleActivatedAbility(
new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{1}{U}")
);
ability.addCost(new RemoveCountersSourceCost(1));
this.addAbility(ability);
// {2}{U}, Remove two counters from this creature: Tap target creature. Put a stun counter on it.
ability = new SimpleActivatedAbility(new TapTargetEffect(), new ManaCostsImpl<>("{2}{U}"));
ability.addCost(new RemoveCountersSourceCost(2));
ability.addEffect(new AddCountersTargetEffect(CounterType.STUN.createInstance()).withTargetDescription("it"));
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
private LochMare(final LochMare card) {
super(card);
}
@Override
public LochMare copy() {
return new LochMare(this);
}
}

View file

@ -144,6 +144,8 @@ public final class LorwynEclipsed extends ExpansionSet {
cards.add(new SetCardInfo("Lavaleaper", 150, Rarity.RARE, mage.cards.l.Lavaleaper.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Lavaleaper", 318, Rarity.RARE, mage.cards.l.Lavaleaper.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Liminal Hold", 24, Rarity.COMMON, mage.cards.l.LiminalHold.class));
cards.add(new SetCardInfo("Loch Mare", 307, Rarity.MYTHIC, mage.cards.l.LochMare.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Loch Mare", 57, Rarity.MYTHIC, mage.cards.l.LochMare.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Luminollusk", 179, Rarity.UNCOMMON, mage.cards.l.Luminollusk.class));
cards.add(new SetCardInfo("Lys Alana Informant", 181, Rarity.COMMON, mage.cards.l.LysAlanaInformant.class));
cards.add(new SetCardInfo("Meek Attack", 151, Rarity.MYTHIC, mage.cards.m.MeekAttack.class, NON_FULL_USE_VARIOUS));