From 4c0455381146c6fb0e5dd66f9289e6bdbf0ec819 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 26 Aug 2022 20:11:03 -0400 Subject: [PATCH] [DMU] Implemented Wooded Ridgeline --- .../src/mage/cards/w/WoodedRidgeline.java | 40 +++++++++++++++++++ Mage.Sets/src/mage/sets/DominariaUnited.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/w/WoodedRidgeline.java diff --git a/Mage.Sets/src/mage/cards/w/WoodedRidgeline.java b/Mage.Sets/src/mage/cards/w/WoodedRidgeline.java new file mode 100644 index 0000000000..cb2bf53212 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WoodedRidgeline.java @@ -0,0 +1,40 @@ +package mage.cards.w; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.mana.GreenManaAbility; +import mage.abilities.mana.RedManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class WoodedRidgeline extends CardImpl { + + public WoodedRidgeline(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + this.subtype.add(SubType.MOUNTAIN); + this.subtype.add(SubType.FOREST); + + // ({T}: Add {R} or {G}.) + this.addAbility(new GreenManaAbility()); + this.addAbility(new RedManaAbility()); + + // Wooded Ridgeline enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + } + + private WoodedRidgeline(final WoodedRidgeline card) { + super(card); + } + + @Override + public WoodedRidgeline copy() { + return new WoodedRidgeline(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnited.java b/Mage.Sets/src/mage/sets/DominariaUnited.java index 8da46aea1f..1f821b0b8e 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnited.java +++ b/Mage.Sets/src/mage/sets/DominariaUnited.java @@ -182,6 +182,7 @@ public final class DominariaUnited extends ExpansionSet { cards.add(new SetCardInfo("Viashino Branchrider", 150, Rarity.COMMON, mage.cards.v.ViashinoBranchrider.class)); cards.add(new SetCardInfo("Vineshaper Prodigy", 187, Rarity.COMMON, mage.cards.v.VineshaperProdigy.class)); cards.add(new SetCardInfo("Voda Sea Scavenger", 74, Rarity.COMMON, mage.cards.v.VodaSeaScavenger.class)); + cards.add(new SetCardInfo("Wooded Ridgeline", 260, Rarity.COMMON, mage.cards.w.WoodedRidgeline.class)); cards.add(new SetCardInfo("Writhing Necromass", 115, Rarity.COMMON, mage.cards.w.WrithingNecromass.class)); cards.add(new SetCardInfo("Yavimaya Coast", 261, Rarity.RARE, mage.cards.y.YavimayaCoast.class)); cards.add(new SetCardInfo("Yavimaya Iconoclast", 190, Rarity.UNCOMMON, mage.cards.y.YavimayaIconoclast.class));