diff --git a/Mage.Sets/src/mage/cards/f/FieryIslet.java b/Mage.Sets/src/mage/cards/f/FieryIslet.java new file mode 100644 index 0000000000..2dcbad5503 --- /dev/null +++ b/Mage.Sets/src/mage/cards/f/FieryIslet.java @@ -0,0 +1,51 @@ +package mage.cards.f; + +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.PayLifeCost; +import mage.abilities.costs.common.SacrificeSourceCost; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.mana.BlueManaAbility; +import mage.abilities.mana.RedManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class FieryIslet extends CardImpl { + + public FieryIslet(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + // {T}, Pay 1 life: Add {U} or {R}. + Ability ability = new BlueManaAbility(); + ability.addCost(new PayLifeCost(1)); + this.addAbility(ability); + ability = new RedManaAbility(); + ability.addCost(new PayLifeCost(1)); + this.addAbility(ability); + + // {1}, {T}, Sacrifice Fiery Islet: Draw a card. + ability = new SimpleActivatedAbility( + new DrawCardSourceControllerEffect(1), new GenericManaCost(1) + ); + ability.addCost(new TapSourceCost()); + ability.addCost(new SacrificeSourceCost()); + this.addAbility(ability); + } + + private FieryIslet(final FieryIslet card) { + super(card); + } + + @Override + public FieryIslet copy() { + return new FieryIslet(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons.java b/Mage.Sets/src/mage/sets/ModernHorizons.java index 39844113a6..fc77e15870 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons.java @@ -36,6 +36,7 @@ public final class ModernHorizons extends ExpansionSet { cards.add(new SetCardInfo("Elvish Fury", 162, Rarity.COMMON, mage.cards.e.ElvishFury.class)); cards.add(new SetCardInfo("Exclude", 48, Rarity.UNCOMMON, mage.cards.e.Exclude.class)); cards.add(new SetCardInfo("Fact or Fiction", 50, Rarity.UNCOMMON, mage.cards.f.FactOrFiction.class)); + cards.add(new SetCardInfo("Fiery Islet", 242, Rarity.RARE, mage.cards.f.FieryIslet.class)); cards.add(new SetCardInfo("Firebolt", 122, Rarity.UNCOMMON, mage.cards.f.Firebolt.class)); cards.add(new SetCardInfo("Flusterstorm", 255, Rarity.RARE, mage.cards.f.Flusterstorm.class)); cards.add(new SetCardInfo("Goblin Matron", 129, Rarity.UNCOMMON, mage.cards.g.GoblinMatron.class));