[EOC] Implement Vernal Fen

This commit is contained in:
theelk801 2025-07-09 16:08:42 -04:00
parent a42c60d318
commit 69900a6406
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.v;
import mage.abilities.common.EntersBattlefieldTappedUnlessAbility;
import mage.abilities.condition.common.YouControlPermanentCondition;
import mage.abilities.mana.BlackManaAbility;
import mage.abilities.mana.GreenManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.ComparisonType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.common.FilterLandPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class VernalFen extends CardImpl {
private static final FilterLandPermanent filter = new FilterLandPermanent("basic lands");
static {
filter.add(SuperType.BASIC.getPredicate());
}
private static final YouControlPermanentCondition condition =
new YouControlPermanentCondition(filter, ComparisonType.OR_GREATER, 2);
public VernalFen(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
this.subtype.add(SubType.SWAMP);
this.subtype.add(SubType.FOREST);
// ({T}: Add {B} or {G}.)
this.addAbility(new BlackManaAbility());
this.addAbility(new GreenManaAbility());
// This land enters tapped unless you control two or more basic lands.
this.addAbility(new EntersBattlefieldTappedUnlessAbility(condition).addHint(condition.getHint()));
}
private VernalFen(final VernalFen card) {
super(card);
}
@Override
public VernalFen copy() {
return new VernalFen(this);
}
}

View file

@ -95,6 +95,8 @@ public final class EdgeOfEternitiesCommander extends ExpansionSet {
cards.add(new SetCardInfo("Titania, Protector of Argoth", 111, Rarity.MYTHIC, mage.cards.t.TitaniaProtectorOfArgoth.class));
cards.add(new SetCardInfo("Twilight Mire", 189, Rarity.RARE, mage.cards.t.TwilightMire.class));
cards.add(new SetCardInfo("Uurg, Spawn of Turg", 127, Rarity.UNCOMMON, mage.cards.u.UurgSpawnOfTurg.class));
cards.add(new SetCardInfo("Vernal Fen", 24, Rarity.RARE, mage.cards.v.VernalFen.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Vernal Fen", 44, Rarity.RARE, mage.cards.v.VernalFen.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Viridescent Bog", 190, Rarity.RARE, mage.cards.v.ViridescentBog.class));
cards.add(new SetCardInfo("Wastes", 191, Rarity.COMMON, mage.cards.w.Wastes.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Windgrace's Judgment", 129, Rarity.RARE, mage.cards.w.WindgracesJudgment.class));