mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
[VOW] Implemented Deathcap Glade
This commit is contained in:
parent
35fb633f5c
commit
c43a9132b6
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/d/DeathcapGlade.java
Normal file
49
Mage.Sets/src/mage/cards/d/DeathcapGlade.java
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
package mage.cards.d;
|
||||||
|
|
||||||
|
import mage.abilities.common.EntersBattlefieldAbility;
|
||||||
|
import mage.abilities.condition.Condition;
|
||||||
|
import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
|
||||||
|
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||||
|
import mage.abilities.effects.common.TapSourceEffect;
|
||||||
|
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.filter.StaticFilters;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class DeathcapGlade extends CardImpl {
|
||||||
|
|
||||||
|
private static final Condition condition = new PermanentsOnTheBattlefieldCondition(
|
||||||
|
StaticFilters.FILTER_LANDS, ComparisonType.FEWER_THAN, 2
|
||||||
|
);
|
||||||
|
|
||||||
|
public DeathcapGlade(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||||
|
|
||||||
|
// Deathcap Glade enters the battlefield tapped unless you control two or more other lands.
|
||||||
|
this.addAbility(new EntersBattlefieldAbility(
|
||||||
|
new ConditionalOneShotEffect(new TapSourceEffect(), condition),
|
||||||
|
"tapped unless you control two or more other lands"
|
||||||
|
));
|
||||||
|
|
||||||
|
// {T}: Add {B} or {G}.
|
||||||
|
this.addAbility(new BlackManaAbility());
|
||||||
|
this.addAbility(new GreenManaAbility());
|
||||||
|
}
|
||||||
|
|
||||||
|
private DeathcapGlade(final DeathcapGlade card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DeathcapGlade copy() {
|
||||||
|
return new DeathcapGlade(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -32,6 +32,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
||||||
this.numBoosterDoubleFaced = 1;
|
this.numBoosterDoubleFaced = 1;
|
||||||
|
|
||||||
cards.add(new SetCardInfo("Apprentice Sharpshooter", 185, Rarity.COMMON, mage.cards.a.ApprenticeSharpshooter.class));
|
cards.add(new SetCardInfo("Apprentice Sharpshooter", 185, Rarity.COMMON, mage.cards.a.ApprenticeSharpshooter.class));
|
||||||
|
cards.add(new SetCardInfo("Deathcap Glade", 261, Rarity.RARE, mage.cards.d.DeathcapGlade.class));
|
||||||
cards.add(new SetCardInfo("Dig Up", 197, Rarity.RARE, mage.cards.d.DigUp.class));
|
cards.add(new SetCardInfo("Dig Up", 197, Rarity.RARE, mage.cards.d.DigUp.class));
|
||||||
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||||
cards.add(new SetCardInfo("Gluttonous Guest", 114, Rarity.COMMON, mage.cards.g.GluttonousGuest.class));
|
cards.add(new SetCardInfo("Gluttonous Guest", 114, Rarity.COMMON, mage.cards.g.GluttonousGuest.class));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue