[ECL] Implement Midnight Tilling

This commit is contained in:
theelk801 2026-01-06 21:18:04 -05:00
parent 107640f784
commit b5787e9a86
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
package mage.cards.m;
import mage.abilities.effects.common.MillThenPutInHandEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class MidnightTilling extends CardImpl {
public MidnightTilling(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
// Mill four cards, then you may return a permanent card from among them to your hand.
this.getSpellAbility().addEffect(new MillThenPutInHandEffect(4, StaticFilters.FILTER_CARD_PERMANENT));
}
private MidnightTilling(final MidnightTilling card) {
super(card);
}
@Override
public MidnightTilling copy() {
return new MidnightTilling(this);
}
}

View file

@ -81,6 +81,7 @@ public final class LorwynEclipsed extends ExpansionSet {
cards.add(new SetCardInfo("Kirol, Attentive First-Year", 231, Rarity.RARE, mage.cards.k.KirolAttentiveFirstYear.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Kirol, Attentive First-Year", 374, Rarity.RARE, mage.cards.k.KirolAttentiveFirstYear.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Lys Alana Informant", 181, Rarity.COMMON, mage.cards.l.LysAlanaInformant.class));
cards.add(new SetCardInfo("Midnight Tilling", 182, Rarity.COMMON, mage.cards.m.MidnightTilling.class));
cards.add(new SetCardInfo("Moonglove Extractor", 109, Rarity.COMMON, mage.cards.m.MoongloveExtractor.class));
cards.add(new SetCardInfo("Morningtide's Light", 27, Rarity.MYTHIC, mage.cards.m.MorningtidesLight.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Morningtide's Light", 301, Rarity.MYTHIC, mage.cards.m.MorningtidesLight.class, NON_FULL_USE_VARIOUS));