* Made targets mandatory (415 cards).

This commit is contained in:
LevelX2 2014-06-10 00:39:32 +02:00
parent 8052188330
commit c58f6c68a1
415 changed files with 421 additions and 421 deletions

View file

@ -66,7 +66,7 @@ public class DeadshotMinotaur extends CardImpl {
// When Deadshot Minotaur enters the battlefield, it deals 3 damage to target creature with flying. // When Deadshot Minotaur enters the battlefield, it deals 3 damage to target creature with flying.
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(3), false); Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(3), false);
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// Cycling {RG} // Cycling {RG}
this.addAbility(new CyclingAbility(new ManaCostsImpl("{R/G}"))); this.addAbility(new CyclingAbility(new ManaCostsImpl("{R/G}")));

View file

@ -76,7 +76,7 @@ public class QasaliPridemage extends CardImpl {
// {1}, Sacrifice Qasali Pridemage: Destroy target artifact or enchantment. // {1}, Sacrifice Qasali Pridemage: Destroy target artifact or enchantment.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}"));
ability.addCost(new SacrificeSourceCost()); ability.addCost(new SacrificeSourceCost());
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -65,7 +65,7 @@ public class UnbenderTine extends CardImpl {
// {tap}: Untap another target permanent. // {tap}: Untap another target permanent.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnbenderTineEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnbenderTineEffect(), new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -61,7 +61,7 @@ public class VithianRenegades extends CardImpl {
this.power = new MageInt(3); this.power = new MageInt(3);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect()); Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -66,7 +66,7 @@ public class Exile extends CardImpl {
this.color.setWhite(true); this.color.setWhite(true);
// Exile target nonwhite attacking creature. // Exile target nonwhite attacking creature.
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
this.getSpellAbility().addEffect(new ExileTargetEffect()); this.getSpellAbility().addEffect(new ExileTargetEffect());
// You gain life equal to its toughness. // You gain life equal to its toughness.
this.getSpellAbility().addEffect(new ExileEffect()); this.getSpellAbility().addEffect(new ExileEffect());

View file

@ -62,7 +62,7 @@ public class DeathMutation extends CardImpl {
// Destroy target nonblack creature. It can't be regenerated. // Destroy target nonblack creature. It can't be regenerated.
this.getSpellAbility().addEffect(new DestroyTargetEffect(true)); this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
// Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that creature's converted mana cost. // Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that creature's converted mana cost.
this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost())); this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost()));
} }

View file

@ -74,7 +74,7 @@ public class OrimsThunder extends CardImpl {
// Destroy target artifact or enchantment. If Orim's Thunder was kicked, it deals damage equal to that permanent's converted mana cost to target creature. // Destroy target artifact or enchantment. If Orim's Thunder was kicked, it deals damage equal to that permanent's converted mana cost to target creature.
this.getSpellAbility().addEffect(new OrimsThunderEffect()); this.getSpellAbility().addEffect(new OrimsThunderEffect());
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new ConditionalOneShotEffect( this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
new OrimsThunderEffect2(), new OrimsThunderEffect2(),
KickedCondition.getInstance(), KickedCondition.getInstance(),

View file

@ -73,7 +73,7 @@ public class QuagmireDruid extends CardImpl {
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(false), new ColoredManaCost(ColoredManaSymbol.G)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(false), new ColoredManaCost(ColoredManaSymbol.G));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(true))); ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(true)));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -67,7 +67,7 @@ public class KingSuleiman extends CardImpl {
// {tap}: Destroy target Djinn or Efreet. // {tap}: Destroy target Djinn or Efreet.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -63,7 +63,7 @@ public class BanishingStroke extends CardImpl {
// Put target artifact, creature, or enchantment on the bottom of its owner's library. // Put target artifact, creature, or enchantment on the bottom of its owner's library.
this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(false)); this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(false));
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
// Miracle {W} // Miracle {W}
this.addAbility(new MiracleAbility(new ManaCostsImpl("{W}"))); this.addAbility(new MiracleAbility(new ManaCostsImpl("{W}")));

View file

@ -56,7 +56,7 @@ public class Cursebreak extends CardImpl {
this.color.setWhite(true); this.color.setWhite(true);
// Destroy target enchantment. You gain 2 life. // Destroy target enchantment. You gain 2 life.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addEffect(new GainLifeEffect(2)); this.getSpellAbility().addEffect(new GainLifeEffect(2));
} }

View file

@ -81,7 +81,7 @@ public class DevoutChaplain extends CardImpl {
// {tap}, Tap two untapped Humans you control: Exile target artifact or enchantment. // {tap}, Tap two untapped Humans you control: Exile target artifact or enchantment.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new TapSourceCost());
ability.addCost(new TapTargetCost(new TargetControlledPermanent(2, 2, humanFilter, false))); ability.addCost(new TapTargetCost(new TargetControlledPermanent(2, 2, humanFilter, false)));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -62,7 +62,7 @@ public class EatenBySpiders extends CardImpl {
// Destroy target creature with flying and all Equipment attached to that creature. // Destroy target creature with flying and all Equipment attached to that creature.
this.getSpellAbility().addEffect(new EatenBySpidersEffect()); this.getSpellAbility().addEffect(new EatenBySpidersEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
} }
public EatenBySpiders(final EatenBySpiders card) { public EatenBySpiders(final EatenBySpiders card) {

View file

@ -55,7 +55,7 @@ public class HumanFrailty extends CardImpl {
this.color.setBlack(true); this.color.setBlack(true);
// Destroy target Human creature. // Destroy target Human creature.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
} }

View file

@ -61,7 +61,7 @@ public class NaturalEnd extends CardImpl {
// Destroy target artifact or enchantment. You gain 3 life. // Destroy target artifact or enchantment. You gain 3 life.
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addEffect(new GainLifeEffect(3)); this.getSpellAbility().addEffect(new GainLifeEffect(3));
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
} }
public NaturalEnd(final NaturalEnd card) { public NaturalEnd(final NaturalEnd card) {

View file

@ -64,7 +64,7 @@ public class PeelFromReality extends CardImpl {
// Return target creature you control and target creature you don't control to their owners' hands. // Return target creature you control and target creature you don't control to their owners' hands.
this.getSpellAbility().addEffect(new PeelFromRealityEffect()); this.getSpellAbility().addEffect(new PeelFromRealityEffect());
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(true)); this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
} }
public PeelFromReality(final PeelFromReality card) { public PeelFromReality(final PeelFromReality card) {

View file

@ -62,7 +62,7 @@ public class Thunderbolt extends CardImpl {
this.getSpellAbility().addTarget(new TargetPlayer(true)); this.getSpellAbility().addTarget(new TargetPlayer(true));
Mode mode = new Mode(); Mode mode = new Mode();
mode.getEffects().add(new DamageTargetEffect(4)); mode.getEffects().add(new DamageTargetEffect(4));
mode.getTargets().add(new TargetCreaturePermanent(filter)); mode.getTargets().add(new TargetCreaturePermanent(filter, true));
this.getSpellAbility().addMode(mode); this.getSpellAbility().addMode(mode);
} }

View file

@ -57,7 +57,7 @@ public class Eradicate extends CardImpl {
// Exile target nonblack creature. Search its controller's graveyard, hand, and library for all cards // Exile target nonblack creature. Search its controller's graveyard, hand, and library for all cards
// with the same name as that creature and exile them. Then that player shuffles his or her library. // with the same name as that creature and exile them. Then that player shuffles his or her library.
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that creature")); this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that creature"));
} }

View file

@ -54,7 +54,7 @@ public class HerosDemise extends CardImpl {
this.color.setBlack(true); this.color.setBlack(true);
// Destroy target legendary creature. // Destroy target legendary creature.
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
} }
public HerosDemise(final HerosDemise card) { public HerosDemise(final HerosDemise card) {

View file

@ -71,7 +71,7 @@ public class IsaoEnlightenedBushi extends CardImpl {
this.addAbility(new BushidoAbility(2)); this.addAbility(new BushidoAbility(2));
// {2}: Regenerate target Samurai. // {2}: Regenerate target Samurai.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new GenericManaCost(2)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new GenericManaCost(2));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -73,7 +73,7 @@ public class MinamoSightbender extends CardImpl {
// {X}, {T}: Target creature with power X or less is unblockable this turn. // {X}, {T}: Target creature with power X or less is unblockable this turn.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnblockableTargetEffect(), new ManaCostsImpl("{X}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnblockableTargetEffect(), new ManaCostsImpl("{X}"));
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());

View file

@ -102,7 +102,7 @@ class MistbladeShinobiTriggeredAbility extends TriggeredAbilityImpl {
FilterCreaturePermanent filter = new FilterCreaturePermanent("creature " + opponent.getName() + " controls"); FilterCreaturePermanent filter = new FilterCreaturePermanent("creature " + opponent.getName() + " controls");
filter.add(new ControllerIdPredicate(opponent.getId())); filter.add(new ControllerIdPredicate(opponent.getId()));
this.getTargets().clear(); this.getTargets().clear();
this.addTarget(new TargetCreaturePermanent(filter)); this.addTarget(new TargetCreaturePermanent(filter, true));
return true; return true;
} }
} }

View file

@ -64,7 +64,7 @@ public class NezumiShadowWatcher extends CardImpl {
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
// Sacrifice Nezumi Shadow-Watcher: Destroy target Ninja. // Sacrifice Nezumi Shadow-Watcher: Destroy target Ninja.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -69,7 +69,7 @@ public class PusKami extends CardImpl {
// {B}, Sacrifice Pus Kami: Destroy target nonblack creature. // {B}, Sacrifice Pus Kami: Destroy target nonblack creature.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ColoredManaCost(ColoredManaSymbol.B)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ColoredManaCost(ColoredManaSymbol.B));
ability.addCost(new SacrificeSourceCost()); ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
this.addAbility(new SoulshiftAbility(6)); this.addAbility(new SoulshiftAbility(6));
} }

View file

@ -55,7 +55,7 @@ public class Scour extends CardImpl {
// Exile target enchantment. // Exile target enchantment.
// Search its controller's graveyard, hand, and library for all cards with the same name as that enchantment and exile them. Then that player shuffles his or her library. // Search its controller's graveyard, hand, and library for all cards with the same name as that enchantment and exile them. Then that player shuffles his or her library.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that enchantment")); this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that enchantment"));
} }

View file

@ -56,7 +56,7 @@ public class SowingSalt extends CardImpl {
// Exile target nonbasic land. Search its controller's graveyard, hand, and library for all cards with // Exile target nonbasic land. Search its controller's graveyard, hand, and library for all cards with
// the same name as that land and exile them. Then that player shuffles his or her library. // the same name as that land and exile them. Then that player shuffles his or her library.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that land")); this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that land"));
} }

View file

@ -51,7 +51,7 @@ public class Splinter extends CardImpl {
// Exile target artifact. Search its controller's graveyard, hand, and library for all cards // Exile target artifact. Search its controller's graveyard, hand, and library for all cards
// with the same name as that artifact and exile them. Then that player shuffles his or her library. // with the same name as that artifact and exile them. Then that player shuffles his or her library.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that artifact")); this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(false, "its controller's","all cards with the same name as that artifact"));
} }

View file

@ -65,7 +65,7 @@ public class TerashisGrasp extends CardImpl {
this.color.setWhite(true); this.color.setWhite(true);
// Destroy target artifact or enchantment. // Destroy target artifact or enchantment.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
// You gain life equal to its converted mana cost. // You gain life equal to its converted mana cost.
this.getSpellAbility().addEffect(new TerashisGraspEffect()); this.getSpellAbility().addEffect(new TerashisGraspEffect());

View file

@ -72,7 +72,7 @@ public class ThatWhichWasTaken extends CardImpl {
// {4}, {T}: Put a divinity counter on target permanent other than That Which Was Taken. // {4}, {T}: Put a divinity counter on target permanent other than That Which Was Taken.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.DIVINITY.createInstance()), new GenericManaCost(4)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.DIVINITY.createInstance()), new GenericManaCost(4));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// Each permanent with a divinity counter on it is indestructible. // Each permanent with a divinity counter on it is indestructible.

View file

@ -64,7 +64,7 @@ public class ThreadsOfDisloyalty extends CardImpl {
this.subtype.add("Aura"); this.subtype.add("Aura");
// Enchant creature with converted mana cost 2 or less // Enchant creature with converted mana cost 2 or less
TargetPermanent auraTarget = new TargetCreaturePermanent(filter); TargetPermanent auraTarget = new TargetCreaturePermanent(filter, true);
this.getSpellAbility().addTarget(auraTarget); this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.GainControl)); this.getSpellAbility().addEffect(new AttachEffect(Outcome.GainControl));
Ability ability = new EnchantAbility(auraTarget.getTargetName()); Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -105,7 +105,7 @@ class ThroatSlitterTriggeredAbility extends TriggeredAbilityImpl {
filter.add(Predicates.not(new ColorPredicate(ObjectColor.BLACK))); filter.add(Predicates.not(new ColorPredicate(ObjectColor.BLACK)));
filter.setMessage("nonblack creature controlled by " + game.getPlayer(event.getTargetId()).getName()); filter.setMessage("nonblack creature controlled by " + game.getPlayer(event.getTargetId()).getName());
this.getTargets().clear(); this.getTargets().clear();
this.addTarget(new TargetPermanent(filter)); this.addTarget(new TargetPermanent(filter, true));
return true; return true;
} }
return false; return false;

View file

@ -74,7 +74,7 @@ public class AkroanConscriptor extends CardImpl {
effect = new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn); effect = new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn);
effect.setText("It gains haste until end of turn"); effect.setText("It gains haste until end of turn");
ability.addEffect(effect); ability.addEffect(effect);
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -68,7 +68,7 @@ public class NessianDemolok extends CardImpl {
this.addAbility(new TributeAbility(3)); this.addAbility(new TributeAbility(3));
// When Nessian Demolok enters the battlefield, if tribute wasn't paid, destroy target noncreature permanent. // When Nessian Demolok enters the battlefield, if tribute wasn't paid, destroy target noncreature permanent.
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false); TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(new ConditionalTriggeredAbility(ability, TributeNotPaidCondition.getInstance(), this.addAbility(new ConditionalTriggeredAbility(ability, TributeNotPaidCondition.getInstance(),
"When {this} enters the battlefield, if its tribute wasn't paid, destroy target noncreature permanent.")); "When {this} enters the battlefield, if its tribute wasn't paid, destroy target noncreature permanent."));
} }

View file

@ -63,7 +63,7 @@ public class Befoul extends CardImpl {
this.color.setBlack(true); this.color.setBlack(true);
// Destroy target land or nonblack creature. It can't be regenerated. // Destroy target land or nonblack creature. It can't be regenerated.
this.getSpellAbility().addEffect(new DestroyTargetEffect(true)); this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
} }
public Befoul (final Befoul card) { public Befoul (final Befoul card) {

View file

@ -63,7 +63,7 @@ public class BlindWithAnger extends CardImpl {
this.getSpellAbility().addEffect(new UntapTargetEffect()); this.getSpellAbility().addEffect(new UntapTargetEffect());
this.getSpellAbility().addEffect(new GainControlTargetEffect(Duration.EndOfTurn)); this.getSpellAbility().addEffect(new GainControlTargetEffect(Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn)); this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
this.getSpellAbility().addTarget(target); this.getSpellAbility().addTarget(target);
} }

View file

@ -58,7 +58,7 @@ public class CrushingPain extends CardImpl {
// Crushing Pain deals 6 damage to target creature that was dealt damage this turn. // Crushing Pain deals 6 damage to target creature that was dealt damage this turn.
this.getSpellAbility().addEffect(new DamageTargetEffect(6)); this.getSpellAbility().addEffect(new DamageTargetEffect(6));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
} }
public CrushingPain (final CrushingPain card) { public CrushingPain (final CrushingPain card) {

View file

@ -60,7 +60,7 @@ public class EiganjoCastle extends CardImpl {
this.addAbility(new WhiteManaAbility()); this.addAbility(new WhiteManaAbility());
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new ColoredManaCost(ColoredManaSymbol.W)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new ColoredManaCost(ColoredManaSymbol.W));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -73,7 +73,7 @@ public class HearthKami extends CardImpl {
ability.getTargets().clear(); ability.getTargets().clear();
FilterArtifactPermanent filter = new FilterArtifactPermanent(new StringBuilder("artifact with converted mana cost ").append(xValue).toString()); FilterArtifactPermanent filter = new FilterArtifactPermanent(new StringBuilder("artifact with converted mana cost ").append(xValue).toString());
filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.Equal, xValue)); filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.Equal, xValue));
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
} }

View file

@ -71,7 +71,7 @@ public class InitiateOfBlood extends CardImpl {
// {T}: Initiate of Blood deals 1 damage to target creature that was dealt damage this turn. // {T}: Initiate of Blood deals 1 damage to target creature that was dealt damage this turn.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// When that creature is put into a graveyard this turn, flip Initiate of Blood. // When that creature is put into a graveyard this turn, flip Initiate of Blood.
@ -109,7 +109,7 @@ class GokaTheUnjust extends Token {
// {T}: Goka the Unjust deals 4 damage to target creature that was dealt damage this turn. // {T}: Goka the Unjust deals 4 damage to target creature that was dealt damage this turn.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(4), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(4), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }
} }

View file

@ -62,7 +62,7 @@ public class KamiOfAncientLaw extends CardImpl {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -64,7 +64,7 @@ public class KitsuneDiviner extends CardImpl {
this.power = new MageInt(0); this.power = new MageInt(0);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -74,7 +74,7 @@ public class KitsuneHealer extends CardImpl {
this.addAbility(firstAbility); this.addAbility(firstAbility);
// {T}: Prevent all damage that would be dealt to target legendary creature this turn. // {T}: Prevent all damage that would be dealt to target legendary creature this turn.
Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, Integer.MAX_VALUE), new TapSourceCost()); Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, Integer.MAX_VALUE), new TapSourceCost());
secondAbility.addTarget(new TargetCreaturePermanent(filter)); secondAbility.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(secondAbility); this.addAbility(secondAbility);
} }

View file

@ -112,7 +112,7 @@ class AutumnTailKitsuneSage extends Token {
// {1}: Attach target Aura attached to a creature to another creature. // {1}: Attach target Aura attached to a creature to another creature.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AutumnTailEffect(), new GenericManaCost(1)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AutumnTailEffect(), new GenericManaCost(1));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
ability.addTarget(new TargetCreaturePermanent(true)); ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -65,7 +65,7 @@ public class MinamoSchoolAtWatersEdge extends CardImpl {
this.addAbility(new BlueManaAbility()); this.addAbility(new BlueManaAbility());
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new ColoredManaCost(ColoredManaSymbol.U)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new ColoredManaCost(ColoredManaSymbol.U));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -67,7 +67,7 @@ public class NineRingedBo extends CardImpl {
// {T}: Nine-Ringed Bo deals 1 damage to target Spirit creature. If that creature would die this turn, exile it instead. // {T}: Nine-Ringed Bo deals 1 damage to target Spirit creature. If that creature would die this turn, exile it instead.
Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost()); Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
ability.addEffect(new NineRingedBoEffect()); ability.addEffect(new NineRingedBoEffect());
this.addAbility(ability); this.addAbility(ability);

View file

@ -60,7 +60,7 @@ public class OkinaTempleToTheGrandfathers extends CardImpl {
this.addAbility(new GreenManaAbility()); this.addAbility(new GreenManaAbility());
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.G)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.G));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -54,7 +54,7 @@ public class QuietPurity extends CardImpl {
this.expansionSetCode = "CHK"; this.expansionSetCode = "CHK";
this.subtype.add("Arcane"); this.subtype.add("Arcane");
this.color.setWhite(true); this.color.setWhite(true);
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
} }

View file

@ -56,7 +56,7 @@ public class RendFlesh extends CardImpl {
this.expansionSetCode = "CHK"; this.expansionSetCode = "CHK";
this.subtype.add("Arcane"); this.subtype.add("Arcane");
this.color.setBlack(true); this.color.setBlack(true);
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
this.getSpellAbility().addTarget(target); this.getSpellAbility().addTarget(target);
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
} }

View file

@ -53,7 +53,7 @@ public class RendSpirit extends CardImpl {
super(ownerId, 141, "Rend Spirit", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{B}"); super(ownerId, 141, "Rend Spirit", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{B}");
this.expansionSetCode = "CHK"; this.expansionSetCode = "CHK";
this.color.setBlack(true); this.color.setBlack(true);
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
} }

View file

@ -61,7 +61,7 @@ public class ShinkaTheBloodsoakedKeep extends CardImpl {
this.addAbility(new RedManaAbility()); this.addAbility(new RedManaAbility());
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -61,7 +61,7 @@ public class ShizoDeathsStorehouse extends CardImpl {
this.addAbility(new BlackManaAbility()); this.addAbility(new BlackManaAbility());
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FearAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FearAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -59,7 +59,7 @@ public class WearAway extends CardImpl {
// Destroy target artifact or enchantment. // Destroy target artifact or enchantment.
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter, true);
target.setRequired(true); target.setRequired(true);
this.getSpellAbility().addTarget(target); this.getSpellAbility().addTarget(target);
// Splice onto Arcane {3}{G} // Splice onto Arcane {3}{G}

View file

@ -79,7 +79,7 @@ public class AdarkarValkyrie extends CardImpl {
this.addAbility(VigilanceAbility.getInstance()); this.addAbility(VigilanceAbility.getInstance());
// {tap}: When target creature other than Adarkar Valkyrie dies this turn, return that card to the battlefield under your control. // {tap}: When target creature other than Adarkar Valkyrie dies this turn, return that card to the battlefield under your control.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AdarkarValkyrieEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AdarkarValkyrieEffect(), new TapSourceCost());
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -72,7 +72,7 @@ public class Shriekmaw extends CardImpl {
// When Shriekmaw enters the battlefield, destroy target nonartifact, nonblack creature. // When Shriekmaw enters the battlefield, destroy target nonartifact, nonblack creature.
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(),false); Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(),false);
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -69,7 +69,7 @@ public class DeepfireElemental extends CardImpl {
// {X}{X}{1}: Destroy target artifact or creature with converted mana cost X. // {X}{X}{1}: Destroy target artifact or creature with converted mana cost X.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{X}{X}{1}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{X}{X}{1}"));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -66,7 +66,7 @@ public class BeaconBehemoth extends CardImpl {
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{1}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{1}"));
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -57,7 +57,7 @@ public class CelestialPurge extends CardImpl {
super(ownerId, 5, "Celestial Purge", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{W}"); super(ownerId, 5, "Celestial Purge", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
this.expansionSetCode = "CON"; this.expansionSetCode = "CON";
this.color.setWhite(true); this.color.setWhite(true);
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new ExileTargetEffect()); this.getSpellAbility().addEffect(new ExileTargetEffect());
} }

View file

@ -66,7 +66,7 @@ public class ControlledInstincts extends CardImpl {
this.color.setBlue(true); this.color.setBlue(true);
// Enchant red or green creature // Enchant red or green creature
TargetPermanent auraTarget = new TargetCreaturePermanent(filter); TargetPermanent auraTarget = new TargetCreaturePermanent(filter, true);
this.getSpellAbility().addTarget(auraTarget); this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment)); this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
this.addAbility(new EnchantAbility(auraTarget.getTargetName())); this.addAbility(new EnchantAbility(auraTarget.getTargetName()));

View file

@ -75,7 +75,7 @@ public class EtherswornAdjudicator extends CardImpl {
// {1}{W}{B}, {T}: Destroy target creature or enchantment. // {1}{W}{B}, {T}: Destroy target creature or enchantment.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}"));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -65,7 +65,7 @@ public class FiligreeFracture extends CardImpl {
this.color.setGreen(true); this.color.setGreen(true);
// Destroy target artifact or enchantment. If that permanent was blue or black, draw a card. // Destroy target artifact or enchantment. If that permanent was blue or black, draw a card.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addEffect(new FiligreeFractureEffect()); this.getSpellAbility().addEffect(new FiligreeFractureEffect());
} }

View file

@ -78,7 +78,7 @@ public class GwafaHazidProfiteer extends CardImpl {
// {W}{U}, {tap}: Put a bribery counter on target creature you don't control. Its controller draws a card. // {W}{U}, {tap}: Put a bribery counter on target creature you don't control. Its controller draws a card.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GwafaHazidProfiteerEffect1(), new ManaCostsImpl("{W}{U}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GwafaHazidProfiteerEffect1(), new ManaCostsImpl("{W}{U}"));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// Creatures with bribery counters on them can't attack or block. // Creatures with bribery counters on them can't attack or block.

View file

@ -56,7 +56,7 @@ public class MoltenFrame extends CardImpl {
this.expansionSetCode = "CON"; this.expansionSetCode = "CON";
this.color.setRed(true); this.color.setRed(true);
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}"))); this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
} }

View file

@ -73,7 +73,7 @@ public class NicolBolasPlaneswalker extends CardImpl {
// +3: Destroy target noncreature permanent. // +3: Destroy target noncreature permanent.
LoyaltyAbility ability = new LoyaltyAbility(new DestroyTargetEffect(), 3); LoyaltyAbility ability = new LoyaltyAbility(new DestroyTargetEffect(), 3);
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// -2: Gain control of target creature. // -2: Gain control of target creature.
ability = new LoyaltyAbility(new GainControlTargetEffect(Duration.Custom), -2); ability = new LoyaltyAbility(new GainControlTargetEffect(Duration.Custom), -2);

View file

@ -66,7 +66,7 @@ public class VagrantPlowbeasts extends CardImpl {
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new RegenerateTargetEffect(), new RegenerateTargetEffect(),
new ManaCostsImpl("{1}")); new ManaCostsImpl("{1}"));
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -63,7 +63,7 @@ public class AlphaBrawl extends CardImpl {
// Target creature an opponent controls deals damage equal to its power to each other creature that player controls, then each of those creatures deals damage equal to its power to that creature. // Target creature an opponent controls deals damage equal to its power to each other creature that player controls, then each of those creatures deals damage equal to its power to that creature.
this.getSpellAbility().addEffect(new AlphaBrawlEffect()); this.getSpellAbility().addEffect(new AlphaBrawlEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
} }

View file

@ -58,7 +58,7 @@ public class CrushingVines extends CardImpl {
this.color.setGreen(true); this.color.setGreen(true);
// Choose one - Destroy target creature with flying; or destroy target artifact. // Choose one - Destroy target creature with flying; or destroy target artifact.
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
Mode mode = new Mode(); Mode mode = new Mode();
mode.getTargets().add(new TargetArtifactPermanent()); mode.getTargets().add(new TargetArtifactPermanent());

View file

@ -76,7 +76,7 @@ public class DungeonGeists extends CardImpl {
// When Dungeon Geists enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's untap step for as long as you control Dungeon Geists. // When Dungeon Geists enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's untap step for as long as you control Dungeon Geists.
Ability ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect(), false); Ability ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect(), false);
ability.addEffect(new DungeonGeistsEffect()); ability.addEffect(new DungeonGeistsEffect());
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -96,7 +96,7 @@ class FeedThePackEffect extends OneShotEffect {
@Override @Override
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter, true);
Player player = game.getPlayer(source.getControllerId()); Player player = game.getPlayer(source.getControllerId());
if (player.choose(Outcome.PutCreatureInPlay, target, source.getSourceId(), game)) { if (player.choose(Outcome.PutCreatureInPlay, target, source.getSourceId(), game)) {
Permanent permanent = game.getPermanent(target.getFirstTarget()); Permanent permanent = game.getPermanent(target.getFirstTarget());

View file

@ -69,7 +69,7 @@ public class Helvault extends CardImpl {
// {7}, {tap}: Exile target creature you don't control. // {7}, {tap}: Exile target creature you don't control.
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetForSourceEffect("Helvault exile"), new GenericManaCost(7)); ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetForSourceEffect("Helvault exile"), new GenericManaCost(7));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// When Helvault is put into a graveyard from the battlefield, return all cards exiled with it to the battlefield under their owners' control. // When Helvault is put into a graveyard from the battlefield, return all cards exiled with it to the battlefield under their owners' control.
this.addAbility(new DiesTriggeredAbility(new ReturnFromExileForSourceEffect(Zone.BATTLEFIELD))); this.addAbility(new DiesTriggeredAbility(new ReturnFromExileForSourceEffect(Zone.BATTLEFIELD)));

View file

@ -58,7 +58,7 @@ public class RayOfRevelation extends CardImpl {
this.color.setWhite(true); this.color.setWhite(true);
// Destroy target enchantment. // Destroy target enchantment.
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
// Flashback {G} // Flashback {G}
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{G}"), TimingRule.INSTANT)); this.addAbility(new FlashbackAbility(new ManaCostsImpl("{G}"), TimingRule.INSTANT));

View file

@ -60,7 +60,7 @@ public class SavingGrasp extends CardImpl {
this.color.setBlue(true); this.color.setBlue(true);
// Return target creature you own to your hand. // Return target creature you own to your hand.
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect()); this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
// Flashback {W} // Flashback {W}
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{W}"), TimingRule.INSTANT)); this.addAbility(new FlashbackAbility(new ManaCostsImpl("{W}"), TimingRule.INSTANT));

View file

@ -110,7 +110,7 @@ class SoulSeizerTriggeredAbility extends TriggeredAbilityImpl {
filter.add(new ControllerIdPredicate(opponent.getId())); filter.add(new ControllerIdPredicate(opponent.getId()));
this.getTargets().clear(); this.getTargets().clear();
this.addTarget(new TargetCreaturePermanent(filter)); this.addTarget(new TargetCreaturePermanent(filter, true));
return true; return true;
} }
} }

View file

@ -99,7 +99,7 @@ class WerewolfRansackerAbility extends TriggeredAbilityImpl {
public WerewolfRansackerAbility() { public WerewolfRansackerAbility() {
super(Zone.BATTLEFIELD, new WerewolfRansackerEffect(), true); super(Zone.BATTLEFIELD, new WerewolfRansackerEffect(), true);
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter, true);
target.setRequired(true); target.setRequired(true);
this.addTarget(target); this.addTarget(target);
} }

View file

@ -68,7 +68,7 @@ public class WolfhuntersQuiver extends CardImpl {
WolfhuntersQuiverAbility ability = new WolfhuntersQuiverAbility(1, new TargetCreatureOrPlayer()); WolfhuntersQuiverAbility ability = new WolfhuntersQuiverAbility(1, new TargetCreatureOrPlayer());
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.EQUIPMENT))); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.EQUIPMENT)));
// and "{tap}: This creature deals 3 damage to target Werewolf creature." // and "{tap}: This creature deals 3 damage to target Werewolf creature."
ability = new WolfhuntersQuiverAbility(3, new TargetCreaturePermanent(filter)); ability = new WolfhuntersQuiverAbility(3, new TargetCreaturePermanent(filter, true));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.EQUIPMENT))); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.EQUIPMENT)));
// Equip {5} // Equip {5}
this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(5))); this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(5)));

View file

@ -67,7 +67,7 @@ public class BlinkmothNexus extends CardImpl {
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new BlinkmothNexusToken(), "land", Duration.EndOfTurn), new GenericManaCost(1))); this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new BlinkmothNexusToken(), "land", Duration.EndOfTurn), new GenericManaCost(1)));
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new GenericManaCost(1)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new GenericManaCost(1));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -63,10 +63,10 @@ public class Coretapper extends CardImpl {
this.power = new MageInt(1); this.power = new MageInt(1);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.CHARGE.createInstance()), new TapSourceCost()); Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.CHARGE.createInstance()), new TapSourceCost());
firstAbility.addTarget(new TargetPermanent(filter)); firstAbility.addTarget(new TargetPermanent(filter, true));
this.addAbility(firstAbility); this.addAbility(firstAbility);
Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.CHARGE.createInstance(2)), new SacrificeSourceCost()); Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.CHARGE.createInstance(2)), new SacrificeSourceCost());
secondAbility.addTarget(new TargetPermanent(filter)); secondAbility.addTarget(new TargetPermanent(filter, true));
this.addAbility(secondAbility); this.addAbility(secondAbility);
} }

View file

@ -57,7 +57,7 @@ public class EchoingCalm extends CardImpl {
this.color.setWhite(true); this.color.setWhite(true);
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new EchoingCalmEffect()); this.getSpellAbility().addEffect(new EchoingCalmEffect());
} }

View file

@ -54,7 +54,7 @@ public class Oxidize extends CardImpl {
this.expansionSetCode = "DST"; this.expansionSetCode = "DST";
this.color.setGreen(true); this.color.setGreen(true);
this.getSpellAbility().addEffect(new DestroyTargetEffect(true)); this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
} }
public Oxidize(final Oxidize card) { public Oxidize(final Oxidize card) {

View file

@ -64,7 +64,7 @@ public class PteronGhost extends CardImpl {
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new SacrificeSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -76,7 +76,7 @@ public class SlobadGoblinTinkerer extends CardImpl {
effect.setText("Target artifact is indestructible this turn"); effect.setText("Target artifact is indestructible this turn");
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
effect, new SacrificeTargetCost(new TargetControlledPermanent(filterControlled))); effect, new SacrificeTargetCost(new TargetControlledPermanent(filterControlled)));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -68,7 +68,7 @@ public class ViridianZealot extends CardImpl {
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{G}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{G}"));
ability.addCost(new SacrificeSourceCost()); ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -62,7 +62,7 @@ public class VoltaicConstruct extends CardImpl {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new GenericManaCost(2)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new GenericManaCost(2));
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -65,7 +65,7 @@ public class HaazdaExonerator extends CardImpl {
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
ability.addCost(new SacrificeSourceCost()); ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -62,7 +62,7 @@ public class IndrikStomphowler extends CardImpl {
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(4); this.toughness = new MageInt(4);
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false); Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -60,7 +60,7 @@ public class PsychoticFury extends CardImpl {
this.color.setRed(true); this.color.setRed(true);
// Target multicolored creature gains double strike until end of turn. // Target multicolored creature gains double strike until end of turn.
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(DoubleStrikeAbility.getInstance(), Duration.EndOfTurn)); this.getSpellAbility().addEffect(new GainAbilityTargetEffect(DoubleStrikeAbility.getInstance(), Duration.EndOfTurn));
// Draw a card. // Draw a card.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)); this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));

View file

@ -59,7 +59,7 @@ public class SealOfDoom extends CardImpl {
this.expansionSetCode = "DIS"; this.expansionSetCode = "DIS";
this.color.setBlack(true); this.color.setBlack(true);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(true), new SacrificeSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(true), new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -59,7 +59,7 @@ public class ClearAPath extends CardImpl {
// Destroy target creature with defender. // Destroy target creature with defender.
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
this.getSpellAbility().addTarget(target); this.getSpellAbility().addTarget(target);
} }

View file

@ -70,7 +70,7 @@ public class DeputyOfAcquittals extends CardImpl {
this.addAbility(FlashAbility.getInstance()); this.addAbility(FlashAbility.getInstance());
// When Deputy of Acquittals enters the battlefield, you may return another target creature you control to its owner's hand. // When Deputy of Acquittals enters the battlefield, you may return another target creature you control to its owner's hand.
Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true); Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -70,7 +70,7 @@ public class HaazdaSnareSquad extends CardImpl {
// Whenever Haazda Snare Squad attacks you may pay {W}. If you do, tap target creature an opponent controls. // Whenever Haazda Snare Squad attacks you may pay {W}. If you do, tap target creature an opponent controls.
Ability ability = new AttacksTriggeredAbility(new DoIfCostPaid(new TapTargetEffect(""), new ManaCostsImpl("{W}")),false, Ability ability = new AttacksTriggeredAbility(new DoIfCostPaid(new TapTargetEffect(""), new ManaCostsImpl("{W}")),false,
"Whenever {this} attacks you may pay {W}. If you do, tap target creature an opponent controls."); "Whenever {this} attacks you may pay {W}. If you do, tap target creature an opponent controls.");
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -68,7 +68,7 @@ public class RunnersBane extends CardImpl {
this.color.setBlue(true); this.color.setBlue(true);
// Enchant creature with power 3 or less // Enchant creature with power 3 or less
TargetPermanent auraTarget = new TargetCreaturePermanent(filter); TargetPermanent auraTarget = new TargetCreaturePermanent(filter, true);
this.getSpellAbility().addTarget(auraTarget); this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.UnboostCreature)); this.getSpellAbility().addEffect(new AttachEffect(Outcome.UnboostCreature));
Ability ability = new EnchantAbility(auraTarget.getTargetName()); Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -69,7 +69,7 @@ public class ScabClanGiant extends CardImpl {
// When Scab-Clan Giant enters the battlefield, it fights target creature an opponent controls chosen at random. // When Scab-Clan Giant enters the battlefield, it fights target creature an opponent controls chosen at random.
Ability ability = new EntersBattlefieldTriggeredAbility(new ScabClanGiantEffect()); Ability ability = new EntersBattlefieldTriggeredAbility(new ScabClanGiantEffect());
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRandom(true); target.setRandom(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

View file

@ -76,7 +76,7 @@ public class VorelOfTheHullClade extends CardImpl {
// {G}{U}, {tap}: For each counter on target artifact, creature, or land, put another of those counters on that permanent. // {G}{U}, {tap}: For each counter on target artifact, creature, or land, put another of those counters on that permanent.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VorelOfTheHullCladeEffect(), new ManaCostsImpl("{G}{U}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VorelOfTheHullCladeEffect(), new ManaCostsImpl("{G}{U}"));
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
this.addAbility(ability); this.addAbility(ability);

View file

@ -65,7 +65,7 @@ public class DwarvenDemolitionTeam extends CardImpl {
// {tap}: Destroy target Wall. // {tap}: Destroy target Wall.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -64,7 +64,7 @@ public class DaruEncampment extends CardImpl {
new BoostTargetEffect(1, 1, Duration.EndOfTurn), new BoostTargetEffect(1, 1, Duration.EndOfTurn),
new ManaCostsImpl("{W}")); new ManaCostsImpl("{W}"));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -66,7 +66,7 @@ public class EnergyChamber extends CardImpl {
// At the beginning of your upkeep, choose one - Put a +1/+1 counter on target artifact creature; // At the beginning of your upkeep, choose one - Put a +1/+1 counter on target artifact creature;
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.P1P1.createInstance(), Outcome.BoostCreature), TargetController.YOU, false); Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.P1P1.createInstance(), Outcome.BoostCreature), TargetController.YOU, false);
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter, true));
// or put a charge counter on target noncreature artifact. // or put a charge counter on target noncreature artifact.
Mode mode = new Mode(); Mode mode = new Mode();

View file

@ -70,7 +70,7 @@ public class MishrasFactory extends CardImpl {
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new BoostTargetEffect(1, 1, Duration.EndOfTurn), new BoostTargetEffect(1, 1, Duration.EndOfTurn),
new TapSourceCost()); new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -67,7 +67,7 @@ public class AerieOuphes extends CardImpl {
// Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying. // Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new SourcePermanentPowerCount()), new SacrificeSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new SourcePermanentPowerCount()), new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter)); ability.addTarget(new TargetCreaturePermanent(filter, true));
this.addAbility(ability); this.addAbility(ability);
// Persist // Persist

View file

@ -100,7 +100,7 @@ class AshlingTheExtinguisherTriggeredAbility extends TriggeredAbilityImpl {
filter.add(new ControllerIdPredicate(opponent.getId())); filter.add(new ControllerIdPredicate(opponent.getId()));
this.getTargets().clear(); this.getTargets().clear();
this.addTarget(new TargetCreaturePermanent(filter)); this.addTarget(new TargetCreaturePermanent(filter, true));
return true; return true;
} }
} }

View file

@ -57,7 +57,7 @@ public class BanishingKnack extends CardImpl {
this.expansionSetCode = "EVE"; this.expansionSetCode = "EVE";
this.color.setBlue(true); this.color.setBlue(true);
Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new TapSourceCost()); Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new TapSourceCost());
gainedAbility.addTarget(new TargetPermanent(filter)); gainedAbility.addTarget(new TargetPermanent(filter, true));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(gainedAbility, Duration.EndOfTurn)); this.getSpellAbility().addEffect(new GainAbilityTargetEffect(gainedAbility, Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
} }

View file

@ -62,7 +62,7 @@ public class CrumblingAshes extends CardImpl {
// At the beginning of your upkeep, destroy target creature with a -1/-1 counter on it. // At the beginning of your upkeep, destroy target creature with a -1/-1 counter on it.
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), TargetController.YOU, false); Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), TargetController.YOU, false);
Target target = new TargetCreaturePermanent(filter); Target target = new TargetCreaturePermanent(filter, true);
target.setRequired(true); target.setRequired(true);
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

Some files were not shown because too many files have changed in this diff Show more