fixed Fight with Fire not being castable with no creatures in play (fixes
@@ -39,6 +39,7 @@ import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.game.Game;
+import mage.target.common.TargetAnyTarget;
import mage.target.common.TargetAnyTargetAmount;
import mage.target.common.TargetCreaturePermanent;
@@ -63,7 +64,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());
+ this.getSpellAbility().addTarget(new TargetAnyTarget());
}
public FightWithFire(final FightWithFire card) {
@@ -72,10 +73,12 @@ public class FightWithFire extends CardImpl {
@Override
public void adjustTargets(Ability ability, Game game) {
+ ability.getTargets().clear();
if (ability instanceof SpellAbility) {
if (KickedCondition.instance.apply(game, ability)) {
- ability.getTargets().clear();
ability.addTarget(new TargetAnyTargetAmount(10));
+ } else {
+ ability.addTarget(new TargetCreaturePermanent());
}
}
}
