mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fix Bonfire of the Damned and Rakdoss Return to be able to target planeswalkers
This commit is contained in:
parent
097569148e
commit
d19aa45e89
2 changed files with 4 additions and 2 deletions
|
@ -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}")));
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue