diff --git a/Mage.Sets/src/mage/cards/f/FaridehsFireball.java b/Mage.Sets/src/mage/cards/f/FaridehsFireball.java new file mode 100644 index 0000000000..350b57b413 --- /dev/null +++ b/Mage.Sets/src/mage/cards/f/FaridehsFireball.java @@ -0,0 +1,43 @@ +package mage.cards.f; + +import mage.abilities.effects.common.DamagePlayersEffect; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.effects.common.RollDieWithResultTableEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.TargetController; +import mage.target.common.TargetCreatureOrPlaneswalker; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class FaridehsFireball extends CardImpl { + + public FaridehsFireball(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}{R}"); + + // Farideh's Fireball deals 5 damage to target creature or planeswalker. Roll a d20. + this.getSpellAbility().addEffect(new DamageTargetEffect(5)); + this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); + RollDieWithResultTableEffect effect = new RollDieWithResultTableEffect(); + this.getSpellAbility().addEffect(effect.concatBy(".")); + + // 1-9 | Farideh's Fireball deals 2 damage to each player. + effect.addTableEntry(1, 9, new DamagePlayersEffect(2)); + + // 10-20 | Farideh's Fireball deals 2 damage to each opponent. + effect.addTableEntry(10, 20, new DamagePlayersEffect(2, TargetController.OPPONENT)); + } + + private FaridehsFireball(final FaridehsFireball card) { + super(card); + } + + @Override + public FaridehsFireball copy() { + return new FaridehsFireball(this); + } +} diff --git a/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java b/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java index 887cfceaca..aa72f2bc9b 100644 --- a/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java +++ b/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java @@ -83,6 +83,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet { cards.add(new SetCardInfo("Evolving Wilds", 256, Rarity.COMMON, mage.cards.e.EvolvingWilds.class)); cards.add(new SetCardInfo("Eye of Vecna", 243, Rarity.RARE, mage.cards.e.EyeOfVecna.class)); cards.add(new SetCardInfo("Eyes of the Beholder", 101, Rarity.COMMON, mage.cards.e.EyesOfTheBeholder.class)); + cards.add(new SetCardInfo("Farideh's Fireball", 142, Rarity.COMMON, mage.cards.f.FaridehsFireball.class)); cards.add(new SetCardInfo("Fates' Reversal", 102, Rarity.COMMON, mage.cards.f.FatesReversal.class)); cards.add(new SetCardInfo("Feign Death", 103, Rarity.COMMON, mage.cards.f.FeignDeath.class)); cards.add(new SetCardInfo("Fifty Feet of Rope", 244, Rarity.UNCOMMON, mage.cards.f.FiftyFeetOfRope.class));