1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 17:00:08 -09:00

* Spitting Image and Call the Skybreaker - Fixed wrong Retrace costs.

This commit is contained in:
LevelX2 2015-03-24 21:51:20 +01:00
parent e62e2e605e
commit b2e27f17f1
3 changed files with 5 additions and 4 deletions
Mage.Sets/src/mage/sets
Mage/src/mage/abilities/keyword

View file

@ -59,7 +59,7 @@ public class CallTheSkybreaker extends CardImpl {
this.getSpellAbility().addEffect(new CreateTokenEffect(new ElementalToken()));
// Retrace
this.addAbility(new RetraceAbility(new DiscardTargetCost(new TargetCardInHand(new FilterLandCard())), TimingRule.SORCERY));
this.addAbility(new RetraceAbility(getSpellAbility().getManaCosts(), TimingRule.SORCERY));
}

View file

@ -30,6 +30,7 @@ package mage.sets.eventide;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.costs.common.DiscardTargetCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.keyword.RetraceAbility;
import mage.cards.CardImpl;
@ -64,8 +65,8 @@ public class SpittingImage extends CardImpl {
this.getSpellAbility().addEffect(new SpittingImageEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
// Retrace
this.addAbility(new RetraceAbility(new DiscardTargetCost(new TargetCardInHand(new FilterLandCard())), TimingRule.SORCERY));
// Retrace (You may cast this card from your graveyard by discarding a land card in addition to paying its other costs.)
this.addAbility(new RetraceAbility(getSpellAbility().getManaCosts(), TimingRule.SORCERY));
}

View file

@ -39,7 +39,6 @@ import mage.constants.Zone;
import mage.filter.common.FilterLandCard;
import mage.game.Game;
import mage.players.Player;
import mage.target.Target;
import mage.target.common.TargetCardInHand;
@ -70,6 +69,7 @@ public class RetraceAbility extends ActivatedAbilityImpl {
return "Retrace <i>(You may cast this card from your graveyard by discarding a land card in addition to paying its other costs.)</i>";
}
}
class RetraceEffect extends OneShotEffect {
public RetraceEffect() {