diff --git a/Mage.Sets/src/mage/cards/t/ThreeBowlsOfPorridge.java b/Mage.Sets/src/mage/cards/t/ThreeBowlsOfPorridge.java new file mode 100644 index 00000000000..bbbb93a33b2 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThreeBowlsOfPorridge.java @@ -0,0 +1,62 @@ +package mage.cards.t; + +import mage.abilities.Ability; +import mage.abilities.Mode; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.effects.common.SacrificeSourceEffect; +import mage.abilities.effects.common.TapTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * + * @author Susucr + */ +public final class ThreeBowlsOfPorridge extends CardImpl { + + public ThreeBowlsOfPorridge(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}"); + + this.subtype.add(SubType.FOOD); + + // {2}, {T}: Choose one that hasn't been chosen -- + // * Three Bowls of Porridge deals 2 damage to target creature. + Ability ability = new SimpleActivatedAbility( + new DamageTargetEffect(2), + new GenericManaCost(2) + ); + ability.addCost(new TapSourceCost()); + ability.addTarget(new TargetCreaturePermanent()); + ability.getModes().setEachModeOnlyOnce(true); + + // * Tap target creature. + Mode mode = new Mode(new TapTargetEffect()); + mode.addTarget(new TargetCreaturePermanent()); + ability.addMode(mode); + + // * Sacrifice Three Bowls of Porridge. You gain 3 life. + mode = new Mode(new SacrificeSourceEffect()); + mode.addEffect(new GainLifeEffect(3)); + ability.addMode(mode); + + this.addAbility(ability); + } + + private ThreeBowlsOfPorridge(final ThreeBowlsOfPorridge card) { + super(card); + } + + @Override + public ThreeBowlsOfPorridge copy() { + return new ThreeBowlsOfPorridge(this); + } +} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/WildsOfEldraine.java b/Mage.Sets/src/mage/sets/WildsOfEldraine.java index e25fc40480c..c8d15f572a0 100644 --- a/Mage.Sets/src/mage/sets/WildsOfEldraine.java +++ b/Mage.Sets/src/mage/sets/WildsOfEldraine.java @@ -105,6 +105,7 @@ public final class WildsOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("The Goose Mother", 204, Rarity.RARE, mage.cards.t.TheGooseMother.class)); cards.add(new SetCardInfo("The Huntsman's Redemption", 176, Rarity.RARE, mage.cards.t.TheHuntsmansRedemption.class)); cards.add(new SetCardInfo("Three Blind Mice", 35, Rarity.RARE, mage.cards.t.ThreeBlindMice.class)); + cards.add(new SetCardInfo("Three Bowls of Porridge", 253, Rarity.UNCOMMON, mage.cards.t.ThreeBowlsOfPorridge.class)); cards.add(new SetCardInfo("Thunderous Debut", 190, Rarity.RARE, mage.cards.t.ThunderousDebut.class)); cards.add(new SetCardInfo("Torch the Tower", 153, Rarity.COMMON, mage.cards.t.TorchTheTower.class)); cards.add(new SetCardInfo("Totentanz, Swarm Piper", 216, Rarity.UNCOMMON, mage.cards.t.TotentanzSwarmPiper.class));