[MH2] Implemented Darkmoss Bridge

This commit is contained in:
Evan Kranzler 2021-05-26 20:15:04 -04:00
parent 4131afcd83
commit 20c1065b8d
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package mage.cards.d;
import mage.abilities.common.EntersBattlefieldTappedAbility;
import mage.abilities.keyword.IndestructibleAbility;
import mage.abilities.mana.BlackManaAbility;
import mage.abilities.mana.RedManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class DarkmossBridge extends CardImpl {
public DarkmossBridge(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.LAND}, "");
// Darkmoss Bridge enters the battlefield tapped.
this.addAbility(new EntersBattlefieldTappedAbility());
// Indestructible
this.addAbility(IndestructibleAbility.getInstance());
// {T}: Add {B} or {G}.
this.addAbility(new BlackManaAbility());
this.addAbility(new RedManaAbility());
}
private DarkmossBridge(final DarkmossBridge card) {
super(card);
}
@Override
public DarkmossBridge copy() {
return new DarkmossBridge(this);
}
}

View file

@ -39,6 +39,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Chatterstorm", 152, Rarity.COMMON, mage.cards.c.Chatterstorm.class));
cards.add(new SetCardInfo("Counterspell", 267, Rarity.UNCOMMON, mage.cards.c.Counterspell.class));
cards.add(new SetCardInfo("Dakkon, Shadow Slayer", 192, Rarity.MYTHIC, mage.cards.d.DakkonShadowSlayer.class));
cards.add(new SetCardInfo("Darkmoss Bridge", 245, Rarity.COMMON, mage.cards.d.DarkmossBridge.class));
cards.add(new SetCardInfo("Diamond Lion", 225, Rarity.RARE, mage.cards.d.DiamondLion.class));
cards.add(new SetCardInfo("Drey Keeper", 194, Rarity.COMMON, mage.cards.d.DreyKeeper.class));
cards.add(new SetCardInfo("Drossforge Bridge", 246, Rarity.COMMON, mage.cards.d.DrossforgeBridge.class));