[MID] Implemented Faithful Mending

This commit is contained in:
Evan Kranzler 2021-09-04 09:22:46 -04:00
parent 3500efed9e
commit cbd1ceb270
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package mage.cards.f;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.discard.DiscardControllerEffect;
import mage.abilities.keyword.FlashbackAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TimingRule;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class FaithfulMending extends CardImpl {
public FaithfulMending(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}{U}");
// You gain 2 life, draw two cards, then discard two cards.
this.getSpellAbility().addEffect(new GainLifeEffect(2));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2).concatBy(","));
this.getSpellAbility().addEffect(new DiscardControllerEffect(2).concatBy(", then"));
// Flashback {1}{W}{U}
this.addAbility(new FlashbackAbility(new ManaCostsImpl<>("{1}{W}{U}"), TimingRule.INSTANT));
}
private FaithfulMending(final FaithfulMending card) {
super(card);
}
@Override
public FaithfulMending copy() {
return new FaithfulMending(this);
}
}

View file

@ -40,6 +40,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
cards.add(new SetCardInfo("Defenestrate", 95, Rarity.COMMON, mage.cards.d.Defenestrate.class));
cards.add(new SetCardInfo("Deserted Beach", 260, Rarity.RARE, mage.cards.d.DesertedBeach.class));
cards.add(new SetCardInfo("Dissipate", 49, Rarity.UNCOMMON, mage.cards.d.Dissipate.class));
cards.add(new SetCardInfo("Faithful Mending", 221, Rarity.UNCOMMON, mage.cards.f.FaithfulMending.class));
cards.add(new SetCardInfo("Famished Foragers", 138, Rarity.COMMON, mage.cards.f.FamishedForagers.class));
cards.add(new SetCardInfo("Festival Crasher", 140, Rarity.COMMON, mage.cards.f.FestivalCrasher.class));
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));

View file

@ -42232,6 +42232,7 @@ Arlinn, the Moon's Fury|Innistrad: Midnight Hunt|211|M||Legendary Planeswalker -
Bladestitched Skaab|Innistrad: Midnight Hunt|212|U|{U}{B}|Creature - Zombie Soldier|2|3|Other Zombies you control get +1/+0.|
Devoted Grafkeeper|Innistrad: Midnight Hunt|218|U|{W}{U}|Creature - Human Pesant|2|1|When Devoted Grafkeeper enters the battlefield, mill two cards.$Whenever you cast a spell from your graveyard, tap target creature you don't control.$Disturb {1}{W}{U}|
Departed Soulkeeper|Innistrad: Midnight Hunt|218|U||Creature - Spirit|3|1|Flying$Departed Soulkeeper can block only creatures with flying.$If Departed Soulkeeper would be put into a graveyard from anywhere, exile it instead.|
Faithful Mending|Innistrad: Midnight Hunt|221|U|{W}{U}|Instant|||You gain 2 life, draw two cards, then discard two cards.$Flashback {1}{W}{U}|
Galvanic Iteration|Innistrad: Midnight Hunt|224|R|{U}{R}|Instant|||When you cast your next instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy.$Flashback {1}{U}{R}|
Join the Dance|Innistrad: Midnight Hunt|229|U|{G}{W}|Sorcery|||Create two 1/1 white Human creature tokens.$Flashback {3}{G}{W}|
Kessig Naturalist|Innistrad: Midnight Hunt|231|U|{R}{G}|Creature - Human Werewolf|2|2|Whenever Kessig Naturalist attacks, add {R} or {G}. Until end of turn, you don't lose this mana as steps and phases end.$Daybound|