mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECC] Implement Sodden Verdure
This commit is contained in:
parent
4f2d78d9b7
commit
5c0e3b0af7
2 changed files with 55 additions and 0 deletions
53
Mage.Sets/src/mage/cards/s/SoddenVerdure.java
Normal file
53
Mage.Sets/src/mage/cards/s/SoddenVerdure.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTappedUnlessAbility;
|
||||
import mage.abilities.condition.common.YouControlPermanentCondition;
|
||||
import mage.abilities.mana.BlueManaAbility;
|
||||
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 SoddenVerdure 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 SoddenVerdure(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
|
||||
this.subtype.add(SubType.FOREST);
|
||||
this.subtype.add(SubType.ISLAND);
|
||||
|
||||
// ({T}: Add {G} or {U}.)
|
||||
this.addAbility(new GreenManaAbility());
|
||||
this.addAbility(new BlueManaAbility());
|
||||
|
||||
// This land enters tapped unless you control two or more basic lands.
|
||||
this.addAbility(new EntersBattlefieldTappedUnlessAbility(condition).addHint(condition.getHint()));
|
||||
}
|
||||
|
||||
private SoddenVerdure(final SoddenVerdure card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SoddenVerdure copy() {
|
||||
return new SoddenVerdure(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -141,6 +141,8 @@ public final class LorwynEclipsedCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Slithermuse", 69, Rarity.RARE, mage.cards.s.Slithermuse.class));
|
||||
cards.add(new SetCardInfo("Smokebraider", 96, Rarity.COMMON, mage.cards.s.Smokebraider.class));
|
||||
cards.add(new SetCardInfo("Smoldering Marsh", 168, Rarity.RARE, mage.cards.s.SmolderingMarsh.class));
|
||||
cards.add(new SetCardInfo("Sodden Verdure", 24, Rarity.RARE, mage.cards.s.SoddenVerdure.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sodden Verdure", 44, Rarity.RARE, mage.cards.s.SoddenVerdure.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sol Ring", 57, Rarity.UNCOMMON, mage.cards.s.SolRing.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sol Ring", 58, Rarity.UNCOMMON, mage.cards.s.SolRing.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Soul Snuffers", 87, Rarity.UNCOMMON, mage.cards.s.SoulSnuffers.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue