From 4522fdb5038be73ab9bc1bee15fbc0b4410404da Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 26 May 2021 20:19:14 -0400 Subject: [PATCH] [MH2] Implemented Tanglepool Bridge --- .../src/mage/cards/t/TanglepoolBridge.java | 40 +++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons2.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/TanglepoolBridge.java diff --git a/Mage.Sets/src/mage/cards/t/TanglepoolBridge.java b/Mage.Sets/src/mage/cards/t/TanglepoolBridge.java new file mode 100644 index 0000000000..d3da34464d --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TanglepoolBridge.java @@ -0,0 +1,40 @@ +package mage.cards.t; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.keyword.IndestructibleAbility; +import mage.abilities.mana.BlueManaAbility; +import mage.abilities.mana.GreenManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TanglepoolBridge extends CardImpl { + + public TanglepoolBridge(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.LAND}, ""); + + // Tanglepool Bridge enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + + // Indestructible + this.addAbility(IndestructibleAbility.getInstance()); + + // {T}: Add {G} or {U}. + this.addAbility(new GreenManaAbility()); + this.addAbility(new BlueManaAbility()); + } + + private TanglepoolBridge(final TanglepoolBridge card) { + super(card); + } + + @Override + public TanglepoolBridge copy() { + return new TanglepoolBridge(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons2.java b/Mage.Sets/src/mage/sets/ModernHorizons2.java index 2bf7c8539f..2fbcfd0f8a 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons2.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons2.java @@ -83,6 +83,7 @@ public final class ModernHorizons2 extends ExpansionSet { cards.add(new SetCardInfo("Squirrel Sovereign", 175, Rarity.UNCOMMON, mage.cards.s.SquirrelSovereign.class)); cards.add(new SetCardInfo("Subtlety", 67, Rarity.MYTHIC, mage.cards.s.Subtlety.class)); cards.add(new SetCardInfo("Swamp", 485, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Tanglepool Bridge", 257, Rarity.COMMON, mage.cards.t.TanglepoolBridge.class)); cards.add(new SetCardInfo("Thornglint Bridge", 258, Rarity.COMMON, mage.cards.t.ThornglintBridge.class)); cards.add(new SetCardInfo("Thrasta, Tempest's Roar", 178, Rarity.MYTHIC, mage.cards.t.ThrastaTempestsRoar.class)); cards.add(new SetCardInfo("Timeless Dragon", 35, Rarity.RARE, mage.cards.t.TimelessDragon.class));