mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
[BLB] Implement Patchwork Banner
This commit is contained in:
parent
f245550d68
commit
e539428b24
3 changed files with 46 additions and 0 deletions
44
Mage.Sets/src/mage/cards/p/PatchworkBanner.java
Normal file
44
Mage.Sets/src/mage/cards/p/PatchworkBanner.java
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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.|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue