From 8a1369df80a32e9f9902f8d165e2d0b86ad3b379 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Tue, 16 Jul 2024 17:01:00 -0400 Subject: [PATCH] [BLB] Implement Three Tree Mascot --- .../src/mage/cards/t/ThreeTreeMascot.java | 45 +++++++++++++++++++ Mage.Sets/src/mage/sets/Bloomburrow.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 47 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/ThreeTreeMascot.java diff --git a/Mage.Sets/src/mage/cards/t/ThreeTreeMascot.java b/Mage.Sets/src/mage/cards/t/ThreeTreeMascot.java new file mode 100644 index 00000000000..55da87014ac --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThreeTreeMascot.java @@ -0,0 +1,45 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.mana.AddManaOfAnyColorEffect; +import mage.abilities.keyword.ChangelingAbility; +import mage.abilities.mana.LimitedTimesPerTurnActivatedManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.Zone; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ThreeTreeMascot extends CardImpl { + + public ThreeTreeMascot(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}"); + + this.subtype.add(SubType.SHAPESHIFTER); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Changeling + this.addAbility(new ChangelingAbility()); + + // {1}: Add one mana of any color. Activate only once each turn. + this.addAbility(new LimitedTimesPerTurnActivatedManaAbility( + Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new GenericManaCost(1) + )); + } + + private ThreeTreeMascot(final ThreeTreeMascot card) { + super(card); + } + + @Override + public ThreeTreeMascot copy() { + return new ThreeTreeMascot(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Bloomburrow.java b/Mage.Sets/src/mage/sets/Bloomburrow.java index de186a2e2a2..4b189d9421a 100644 --- a/Mage.Sets/src/mage/sets/Bloomburrow.java +++ b/Mage.Sets/src/mage/sets/Bloomburrow.java @@ -156,6 +156,7 @@ public final class Bloomburrow extends ExpansionSet { cards.add(new SetCardInfo("Thieving Otter", 390, Rarity.COMMON, mage.cards.t.ThievingOtter.class)); cards.add(new SetCardInfo("Thistledown Players", 35, Rarity.COMMON, mage.cards.t.ThistledownPlayers.class)); cards.add(new SetCardInfo("Thornvault Forager", 197, Rarity.RARE, mage.cards.t.ThornvaultForager.class)); + cards.add(new SetCardInfo("Three Tree Mascot", 251, Rarity.COMMON, mage.cards.t.ThreeTreeMascot.class)); cards.add(new SetCardInfo("Thundertrap Trainer", 78, Rarity.RARE, mage.cards.t.ThundertrapTrainer.class)); cards.add(new SetCardInfo("Tidecaller Mentor", 236, Rarity.UNCOMMON, mage.cards.t.TidecallerMentor.class)); cards.add(new SetCardInfo("Treetop Sentries", 201, Rarity.COMMON, mage.cards.t.TreetopSentries.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index dca88ae13e0..ec215000c54 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -53284,6 +53284,7 @@ Fountainport Bell|Bloomburrow|245|C|{1}|Artifact|||When Fountainport Bell enters Heirloom Epic|Bloomburrow|246|U|{1}|Artifact|||{4}, {T}: Draw a card. For each mana in this ability's activation cost, you may tap an untapped creature you control rather than pay that mana. Activate only as a sorcery.| Patchwork Banner|Bloomburrow|247|U|{3}|Artifact|||As Patchwork Banner enters, choose a creature type.$Creatures you control of the chosen type get +1/+1.${T}: Add one mana of any color.| Starforged Sword|Bloomburrow|249|U|{4}|Artifact - Equipment|||Gift a tapped Fish$When Starforged Sword enters, if the gift was promised, attach Starforged Sword to target creature you control.$Equipped creature gets +3/+3 and loses flying.$Equip {3}| +Three Tree Mascot|Bloomburrow|251|C|{2}|Artifact Creature - Shapeshifter|2|1|Changeling${1}: Add one mana of any color. Activate only once each turn.| Fabled Passage|Bloomburrow|252|R||Land|||{T}, Sacrifice Fabled Passage: Search your library for a basic land card, put it onto the battlefield tapped, then shuffle. Then if you control four or more lands, untap that land.| Fountainport|Bloomburrow|253|R||Land|||{T}: Add {C}.${2}, {T}, Sacrifice a token: Draw a card.${3}, {T}, Pay 1 life: Create a 1/1 blue Fish creature token.${4}, {T}: Create a Treasure token.| Hidden Grotto|Bloomburrow|254|C||Land|||When Hidden Grotto enters, surveil 1.${T}: Add {C}.${1}, {T}: Add one mana of any color.|