From c8197565a867fced01d7fa1b1e94f59286c04ab5 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 26 Aug 2022 20:10:21 -0400 Subject: [PATCH] [DMU] Implemented Tangled Islet --- Mage.Sets/src/mage/cards/t/TangledIslet.java | 40 ++++++++++++++++++++ Mage.Sets/src/mage/sets/DominariaUnited.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/TangledIslet.java diff --git a/Mage.Sets/src/mage/cards/t/TangledIslet.java b/Mage.Sets/src/mage/cards/t/TangledIslet.java new file mode 100644 index 0000000000..111b928d68 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TangledIslet.java @@ -0,0 +1,40 @@ +package mage.cards.t; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +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.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TangledIslet extends CardImpl { + + public TangledIslet(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()); + + // Tangled Islet enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + } + + private TangledIslet(final TangledIslet card) { + super(card); + } + + @Override + public TangledIslet copy() { + return new TangledIslet(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnited.java b/Mage.Sets/src/mage/sets/DominariaUnited.java index c773b9ada8..8da46aea1f 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnited.java +++ b/Mage.Sets/src/mage/sets/DominariaUnited.java @@ -164,6 +164,7 @@ public final class DominariaUnited extends ExpansionSet { cards.add(new SetCardInfo("Swamp", 268, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Tail Swipe", 182, Rarity.UNCOMMON, mage.cards.t.TailSwipe.class)); cards.add(new SetCardInfo("Take Up the Shield", 35, Rarity.COMMON, mage.cards.t.TakeUpTheShield.class)); + cards.add(new SetCardInfo("Tangled Islet", 258, Rarity.COMMON, mage.cards.t.TangledIslet.class)); cards.add(new SetCardInfo("Tattered Apparition", 111, Rarity.COMMON, mage.cards.t.TatteredApparition.class)); cards.add(new SetCardInfo("Temporal Firestorm", 147, Rarity.RARE, mage.cards.t.TemporalFirestorm.class)); cards.add(new SetCardInfo("Territorial Maro", 184, Rarity.UNCOMMON, mage.cards.t.TerritorialMaro.class));