From d19aa45e89db25f799f3a76b2ccb5e631d01ca7d Mon Sep 17 00:00:00 2001 From: igoudt Date: Sat, 4 Aug 2018 20:29:39 +0200 Subject: [PATCH] fix Bonfire of the Damned and Rakdoss Return to be able to target planeswalkers --- Mage.Sets/src/mage/cards/b/BonfireOfTheDamned.java | 3 ++- Mage.Sets/src/mage/cards/r/RakdossReturn.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/b/BonfireOfTheDamned.java b/Mage.Sets/src/mage/cards/b/BonfireOfTheDamned.java index 1b21007934..54a4f3ed72 100644 --- a/Mage.Sets/src/mage/cards/b/BonfireOfTheDamned.java +++ b/Mage.Sets/src/mage/cards/b/BonfireOfTheDamned.java @@ -16,6 +16,7 @@ import mage.game.Game; import mage.game.permanent.Permanent; import mage.players.Player; import mage.target.TargetPlayer; +import mage.target.common.TargetPlayerOrPlaneswalker; /** * @@ -28,7 +29,7 @@ public final class BonfireOfTheDamned extends CardImpl { // Bonfire of the Damned deals X damage to target player and each creature he or she controls. this.getSpellAbility().addEffect(new BonfireOfTheDamnedEffect()); - this.getSpellAbility().addTarget(new TargetPlayer()); + this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker()); // Miracle {X}{R} this.addAbility(new MiracleAbility(this, new ManaCostsImpl("{X}{R}"))); diff --git a/Mage.Sets/src/mage/cards/r/RakdossReturn.java b/Mage.Sets/src/mage/cards/r/RakdossReturn.java index 257ab43dab..19aa5e41f4 100644 --- a/Mage.Sets/src/mage/cards/r/RakdossReturn.java +++ b/Mage.Sets/src/mage/cards/r/RakdossReturn.java @@ -15,6 +15,7 @@ import mage.constants.Outcome; import mage.game.Game; import mage.players.Player; import mage.target.common.TargetOpponent; +import mage.target.common.TargetOpponentOrPlaneswalker; import mage.target.targetpointer.FixedTarget; /** @@ -29,7 +30,7 @@ public final class RakdossReturn extends CardImpl { // Rakdos's Return deals X damage to target opponent. That player discards X cards. this.getSpellAbility().addEffect(new DamageTargetEffect(new ManacostVariableValue())); this.getSpellAbility().addEffect(new RakdossReturnEffect()); - this.getSpellAbility().addTarget(new TargetOpponent()); + this.getSpellAbility().addTarget(new TargetOpponentOrPlaneswalker()); } public RakdossReturn(final RakdossReturn card) {