diff --git a/Mage.Sets/src/mage/cards/n/NutrientBlock.java b/Mage.Sets/src/mage/cards/n/NutrientBlock.java new file mode 100644 index 00000000000..f05e888d550 --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NutrientBlock.java @@ -0,0 +1,42 @@ +package mage.cards.n; + +import mage.abilities.common.PutIntoGraveFromBattlefieldSourceTriggeredAbility; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.keyword.IndestructibleAbility; +import mage.abilities.token.FoodAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class NutrientBlock extends CardImpl { + + public NutrientBlock(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}"); + + this.subtype.add(SubType.FOOD); + + // Indestructible + this.addAbility(IndestructibleAbility.getInstance()); + + // {2}, {T}, Sacrifice this artifact: You gain 3 life. + this.addAbility(new FoodAbility()); + + // When this artifact is put into a graveyard from the battlefield, draw a card. + this.addAbility(new PutIntoGraveFromBattlefieldSourceTriggeredAbility(new DrawCardSourceControllerEffect(1))); + } + + private NutrientBlock(final NutrientBlock card) { + super(card); + } + + @Override + public NutrientBlock copy() { + return new NutrientBlock(this); + } +} diff --git a/Mage.Sets/src/mage/sets/EdgeOfEternities.java b/Mage.Sets/src/mage/sets/EdgeOfEternities.java index 062eb3af587..bca0d071c29 100644 --- a/Mage.Sets/src/mage/sets/EdgeOfEternities.java +++ b/Mage.Sets/src/mage/sets/EdgeOfEternities.java @@ -97,6 +97,7 @@ public final class EdgeOfEternities extends ExpansionSet { cards.add(new SetCardInfo("Mouth of the Storm", 70, Rarity.UNCOMMON, mage.cards.m.MouthOfTheStorm.class)); cards.add(new SetCardInfo("Nova Hellkite", 148, Rarity.RARE, mage.cards.n.NovaHellkite.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Nova Hellkite", 309, Rarity.RARE, mage.cards.n.NovaHellkite.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Nutrient Block", 243, Rarity.COMMON, mage.cards.n.NutrientBlock.class)); cards.add(new SetCardInfo("Ouroboroid", 201, Rarity.MYTHIC, mage.cards.o.Ouroboroid.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Ouroboroid", 345, Rarity.MYTHIC, mage.cards.o.Ouroboroid.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Plains", 262, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 8dddc76c723..488425b152e 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -59176,6 +59176,7 @@ Dawnsire, Sunstar Dreadnought|Edge of Eternities|238|M|{5}|Legendary Artifact - The Endstone|Edge of Eternities|240|M|{7}|Legendary Artifact|||Whenever you play a land or cast a spell, draw a card.$At the beginning of your end step, your life total becomes half your starting life total, rounded up.| The Eternity Elevator|Edge of Eternities|241|R|{5}|Legendary Artifact - Spacecraft|||{T}: Add {C}{C}{C}$Station$STATION 20+${T}: Add X mana of any one color, where X is the number of charge counters on The Eternity Elevator.| Extinguisher Battleship|Edge of Eternities|242|R|{8}|Artifact - Spacecraft|||When this Spacecraft enters, destroy target noncreature permanent. Then this Spacecraft deals 4 damage to each creature.$Station$STATION 5+$Flying, trample$10/10| +Nutrient Block|Edge of Eternities|243|C|{1}|Artifact - Food|||Indestructible${2}, {T}, Sacrifice this artifact: You gain 3 life.$When this artifact is put into a graveyard from the battlefield, draw a card.| Thrumming Hivepool|Edge of Eternities|247|R|{6}|Artifact|||Affinity for Slivers$Slivers you control have double strike and haste.$At the beginning of your upkeep, create two 1/1 colorless Sliver creature tokens.| Virulent Silencer|Edge of Eternities|248|U|{3}|Artifact Creature - Robot Assassin|2|3|Whenever a nontoken artifact creature you control deals combat damage to a player, that player gets two poison counters.| Wurmwall Sweeper|Edge of Eternities|249|C|{2}|Artifact - Spacecraft|||When this Spacecraft enters, surveil 2.$Station$STATION 4+$Flying$2/2|