diff --git a/Mage.Sets/src/mage/cards/p/PatchworkBanner.java b/Mage.Sets/src/mage/cards/p/PatchworkBanner.java new file mode 100644 index 00000000000..92469365147 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PatchworkBanner.java @@ -0,0 +1,44 @@ +package mage.cards.p; + +import mage.abilities.common.AsEntersBattlefieldAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.ChooseCreatureTypeEffect; +import mage.abilities.effects.common.continuous.BoostAllOfChosenSubtypeEffect; +import mage.abilities.mana.AnyColorManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.Outcome; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PatchworkBanner extends CardImpl { + + public PatchworkBanner(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}"); + + // As Patchwork Banner enters, choose a creature type. + this.addAbility(new AsEntersBattlefieldAbility(new ChooseCreatureTypeEffect(Outcome.BoostCreature))); + + // Creatures you control of the chosen type get +1/+1. + this.addAbility(new SimpleStaticAbility(new BoostAllOfChosenSubtypeEffect( + 1, 1, Duration.WhileOnBattlefield, false + ))); + + // {T}: Add one mana of any color. + this.addAbility(new AnyColorManaAbility()); + } + + private PatchworkBanner(final PatchworkBanner card) { + super(card); + } + + @Override + public PatchworkBanner copy() { + return new PatchworkBanner(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Bloomburrow.java b/Mage.Sets/src/mage/sets/Bloomburrow.java index 53e4bbf42a3..af385695687 100644 --- a/Mage.Sets/src/mage/sets/Bloomburrow.java +++ b/Mage.Sets/src/mage/sets/Bloomburrow.java @@ -90,6 +90,7 @@ public final class Bloomburrow extends ExpansionSet { cards.add(new SetCardInfo("Nettle Guard", 23, Rarity.COMMON, mage.cards.n.NettleGuard.class)); cards.add(new SetCardInfo("Oakhollow Village", 258, Rarity.UNCOMMON, mage.cards.o.OakhollowVillage.class)); cards.add(new SetCardInfo("Overprotect", 185, Rarity.UNCOMMON, mage.cards.o.Overprotect.class)); + cards.add(new SetCardInfo("Patchwork Banner", 247, Rarity.UNCOMMON, mage.cards.p.PatchworkBanner.class)); cards.add(new SetCardInfo("Pawpatch Formation", 186, Rarity.UNCOMMON, mage.cards.p.PawpatchFormation.class)); cards.add(new SetCardInfo("Pearl of Wisdom", 64, Rarity.COMMON, mage.cards.p.PearlOfWisdom.class)); cards.add(new SetCardInfo("Pileated Provisioner", 25, Rarity.COMMON, mage.cards.p.PileatedProvisioner.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 8503e5fa67e..714972b8070 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -53250,6 +53250,7 @@ Zoraline, Cosmos Caller|Bloomburrow|242|R|{1}{W}{B}|Legendary Creature - Bat Cle Barkform Harvester|Bloomburrow|243|C|{3}|Artifact Creature - Shapeshifter|2|3|Changeling$Reach${2}: Put target card from your graveyard on the bottom of your library.| Bumbleflower's Sharepot|Bloomburrow|244|C|{2}|Artifact|||When Bumbleflower's Sharepot enters, create a Food token.${5}, {T}, Sacrifice Bumbleflower's Sharepot: Destroy target nonland permanent. Activate only as a sorcery.| Fountainport Bell|Bloomburrow|245|C|{1}|Artifact|||When Fountainport Bell enters, you may search your library for a basic land card, reveal it, then shuffle and put that card on top.${1}, Sacrifice Fountainport Bell: Draw a card.| +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.| Hidden Grotto|Bloomburrow|254|C||Land|||When Hidden Grotto enters, surveil 1.${T}: Add {C}.${1}, {T}: Add one mana of any color.| Lilypad Village|Bloomburrow|255|U||Land|||{T}: Add {C}.${T}: Add {U}. Spend this mana only to cast a creature spell.${U}, {T}: Surveil 2. Activate only if a Bird, Frog, Otter, or Rat entered the battlefield under your control this turn.| Lupinflower Village|Bloomburrow|256|U||Land|||{T}: Add {C}.${T}: Add {W}. Spend this mana only to cast a creature spell.${1}{W}, {T}, Sacrifice Lupinflower Village: Look at the top six cards of your library. You may reveal a Bat, Bird, Mouse, or Rabbit card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.|