mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Fight with Fire - Fixed not working target handling.
This commit is contained in:
parent
e4fb9a6217
commit
6eda81c1a7
1 changed files with 3 additions and 1 deletions
|
@ -40,6 +40,7 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.game.Game;
|
||||
import mage.target.common.TargetAnyTargetAmount;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -62,6 +63,7 @@ public class FightWithFire extends CardImpl {
|
|||
+ "it deals 10 damage divided as you choose among any number of targets instead."
|
||||
+ "<i> (Those targets can include players and planeswalkers.)</i>"
|
||||
));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
public FightWithFire(final FightWithFire card) {
|
||||
|
@ -73,7 +75,7 @@ public class FightWithFire extends CardImpl {
|
|||
if (ability instanceof SpellAbility) {
|
||||
if (KickedCondition.instance.apply(game, ability)) {
|
||||
ability.getTargets().clear();
|
||||
getSpellAbility().addTarget(new TargetAnyTargetAmount(10));
|
||||
ability.addTarget(new TargetAnyTargetAmount(10));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue