diff --git a/Mage.Sets/src/mage/cards/g/GiftOfCompleation.java b/Mage.Sets/src/mage/cards/g/GiftOfCompleation.java new file mode 100644 index 0000000000..60dd73e691 --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GiftOfCompleation.java @@ -0,0 +1,41 @@ +package mage.cards.g; + +import mage.abilities.common.DiesCreatureTriggeredAbility; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.keyword.IncubateEffect; +import mage.abilities.effects.keyword.SurveilEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.common.FilterControlledPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class GiftOfCompleation extends CardImpl { + + private static final FilterControlledPermanent filter + = new FilterControlledPermanent(SubType.PHYREXIAN, "a Phyrexian you control"); + + public GiftOfCompleation(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{B}"); + + // When Gift of Compleation enters the battlefield, incubate 3. + this.addAbility(new EntersBattlefieldTriggeredAbility(new IncubateEffect(3))); + + // Whenever a Phyrexian you control dies, surveil 1. + this.addAbility(new DiesCreatureTriggeredAbility(new SurveilEffect(1), false, filter)); + } + + private GiftOfCompleation(final GiftOfCompleation card) { + super(card); + } + + @Override + public GiftOfCompleation copy() { + return new GiftOfCompleation(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index 393f5ab9e6..e1979064f1 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -50,6 +50,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Faerie Mastermind", 58, Rarity.RARE, mage.cards.f.FaerieMastermind.class)); cards.add(new SetCardInfo("Fairgrounds Trumpeter", 335, Rarity.COMMON, mage.cards.f.FairgroundsTrumpeter.class)); cards.add(new SetCardInfo("Forest", 281, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Gift of Compleation", 106, Rarity.UNCOMMON, mage.cards.g.GiftOfCompleation.class)); cards.add(new SetCardInfo("Glistening Deluge", 107, Rarity.UNCOMMON, mage.cards.g.GlisteningDeluge.class)); cards.add(new SetCardInfo("Gnottvold Hermit", 188, Rarity.UNCOMMON, mage.cards.g.GnottvoldHermit.class)); cards.add(new SetCardInfo("Harried Artisan", 143, Rarity.UNCOMMON, mage.cards.h.HarriedArtisan.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index dbec9c507f..b9d80fe2b4 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -48124,7 +48124,7 @@ Ayara, Widow of the Realm|March of the Machine|90|R|{1}{B}{B}|Legendary Creature Ayara, Furnace Queen|March of the Machine|90|R||Legendary Creature - Phyrexian Elf Noble|4|4|At the beginning of combat on your turn, return up to one target artifact or creature card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step.| Breach the Multiverse|March of the Machine|94|R|{5}{B}{B}|Sorcery|||Each player mills ten cards. For each player, choose a creature or planeswalker card in that player's graveyard. Put those cards onto the battlefield under your control. Then each creature you control becomes a Phyrexian in addition to its other types.| Deadly Derision|March of the Machine|99|C|{2}{B}{B}|Instant|||Destroy target creature or planeswalker. Create a Treasure token.| -Gift of Completion|March of the Machine|106|U|{1}{B}|Enchantment|||When Gift of Completion enters the battlefield, incubate 3.$Whenever a Phyrexian you control dies, surveil 1.| +Gift of Compleation|March of the Machine|106|U|{1}{B}|Enchantment|||When Gift of Compleation enters the battlefield, incubate 3.$Whenever a Phyrexian you control dies, surveil 1.| Glistening Deluge|March of the Machine|107|U|{1}{B}{B}|Sorcery|||All creatures get -1/-1 until end of turn. Creatures that are green and/or white get an additional -2/-2 until end of turn.| Grafted Butcher|March of the Machine|109|R|{1}{B}|Creature - Phyrexian Samurai|2|2|When Grafted Butcher enters the battlefield, Phyrexians you control gain menace until end of turn.$Other Phyrexians you control get + 1/+1.${3}{B}, Sacrifice an artifact or creature: Return Grafted Butcher from your graveyard to the battlefield. Activate only as a sorcery.| Hoarding Broodlord|March of the Machine|110|R|{5}{B}{B}{B}|Creature - Dragon|7|6|Convoke$Flying$When Hoarding Broodlord enters the battlefield, search your library for a card, exile it face down, then shuffle. For as long as that card remains exiled, you may play it.$Spells you cast from exile have convoke.|