From 542aa873390a340c8644343bf9ca4ca472b536e1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 10 Jan 2020 18:11:10 -0500 Subject: [PATCH] Implemented Fruit of Tizerus --- .../src/mage/cards/f/FruitOfTizerus.java | 36 +++++++++++++++++++ .../src/mage/sets/TherosBeyondDeath.java | 1 + 2 files changed, 37 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/f/FruitOfTizerus.java diff --git a/Mage.Sets/src/mage/cards/f/FruitOfTizerus.java b/Mage.Sets/src/mage/cards/f/FruitOfTizerus.java new file mode 100644 index 0000000000..c4361494a1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/f/FruitOfTizerus.java @@ -0,0 +1,36 @@ +package mage.cards.f; + +import mage.abilities.effects.common.LoseLifeTargetEffect; +import mage.abilities.keyword.EscapeAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.TargetPlayer; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class FruitOfTizerus extends CardImpl { + + public FruitOfTizerus(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{B}"); + + // Target player loses 2 life. + this.getSpellAbility().addEffect(new LoseLifeTargetEffect(2)); + this.getSpellAbility().addTarget(new TargetPlayer()); + + // Escape—{3}{B}, Exile three other cards from your graveyard. + this.addAbility(new EscapeAbility(this, "{3}{B}", 3)); + } + + private FruitOfTizerus(final FruitOfTizerus card) { + super(card); + } + + @Override + public FruitOfTizerus copy() { + return new FruitOfTizerus(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index 922a1d297f..787823d9ef 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -82,6 +82,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Field of Ruin", 242, Rarity.UNCOMMON, mage.cards.f.FieldOfRuin.class)); cards.add(new SetCardInfo("Final Death", 95, Rarity.COMMON, mage.cards.f.FinalDeath.class)); cards.add(new SetCardInfo("Forest", 254, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS)); + cards.add(new SetCardInfo("Fruit of Tizerus", 96, Rarity.COMMON, mage.cards.f.FruitOfTizerus.class)); cards.add(new SetCardInfo("Funeral Rites", 97, Rarity.COMMON, mage.cards.f.FuneralRites.class)); cards.add(new SetCardInfo("Gallia of the Endless Dance", 217, Rarity.RARE, mage.cards.g.GalliaOfTheEndlessDance.class)); cards.add(new SetCardInfo("Gift of Strength", 171, Rarity.COMMON, mage.cards.g.GiftOfStrength.class));