diff --git a/Mage.Sets/src/mage/cards/b/BrightcapBadger.java b/Mage.Sets/src/mage/cards/b/BrightcapBadger.java new file mode 100644 index 00000000000..7c3b51bbdb0 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BrightcapBadger.java @@ -0,0 +1,67 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.common.BeginningOfEndStepTriggeredAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; +import mage.abilities.mana.GreenManaAbility; +import mage.cards.AdventureCard; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.constants.TargetController; +import mage.filter.FilterPermanent; +import mage.filter.predicate.Predicates; +import mage.game.permanent.token.SaprolingToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BrightcapBadger extends AdventureCard { + + private static final FilterPermanent filter = new FilterPermanent("each Fungus and Saproling"); + + static { + filter.add(Predicates.or( + SubType.FUNGUS.getPredicate(), + SubType.SAPROLING.getPredicate() + )); + } + + public BrightcapBadger(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{3}{G}", "Fungus Frolic", "{2}{G}"); + + this.subtype.add(SubType.BADGER); + this.subtype.add(SubType.DRUID); + this.power = new MageInt(3); + this.toughness = new MageInt(4); + + // Each Fungus and Saproling you control has "{T}: Add {G}." + this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect( + new GreenManaAbility(), Duration.WhileOnBattlefield, filter + ))); + + // At the beginning of your end step, create a 1/1 green Saproling token. + this.addAbility(new BeginningOfEndStepTriggeredAbility( + new CreateTokenEffect(new SaprolingToken()), TargetController.YOU, false + )); + + // Fungus Frolic + // Create two 1/1 green Saproling creature tokens. + this.getSpellCard().getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), 2)); + this.getSpellCard().finalizeAdventure(); + } + + private BrightcapBadger(final BrightcapBadger card) { + super(card); + } + + @Override + public BrightcapBadger copy() { + return new BrightcapBadger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/BloomburrowCommander.java b/Mage.Sets/src/mage/sets/BloomburrowCommander.java index 8e50ec073bf..d89867f2f8b 100644 --- a/Mage.Sets/src/mage/sets/BloomburrowCommander.java +++ b/Mage.Sets/src/mage/sets/BloomburrowCommander.java @@ -52,6 +52,7 @@ public final class BloomburrowCommander extends ExpansionSet { cards.add(new SetCardInfo("Bootleggers' Stash", 207, Rarity.MYTHIC, mage.cards.b.BootleggersStash.class)); cards.add(new SetCardInfo("Boros Signet", 128, Rarity.UNCOMMON, mage.cards.b.BorosSignet.class)); cards.add(new SetCardInfo("Boss's Chauffeur", 137, Rarity.RARE, mage.cards.b.BosssChauffeur.class)); + cards.add(new SetCardInfo("Brightcap Badger", 28, Rarity.RARE, mage.cards.b.BrightcapBadger.class)); cards.add(new SetCardInfo("Broken Wings", 208, Rarity.COMMON, mage.cards.b.BrokenWings.class)); cards.add(new SetCardInfo("Brushland", 295, Rarity.RARE, mage.cards.b.Brushland.class)); cards.add(new SetCardInfo("Burnished Hart", 266, Rarity.UNCOMMON, mage.cards.b.BurnishedHart.class));