mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Made targets mandatory (415 cards).
This commit is contained in:
parent
8052188330
commit
c58f6c68a1
415 changed files with 421 additions and 421 deletions
|
@ -66,7 +66,7 @@ public class DeadshotMinotaur extends CardImpl {
|
|||
|
||||
// When Deadshot Minotaur enters the battlefield, it deals 3 damage to target creature with flying.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(3), false);
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
// Cycling {RG}
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl("{R/G}")));
|
||||
|
|
|
@ -76,7 +76,7 @@ public class QasaliPridemage extends CardImpl {
|
|||
// {1}, Sacrifice Qasali Pridemage: Destroy target artifact or enchantment.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}"));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
Target target = new TargetPermanent(filter);
|
||||
Target target = new TargetPermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -65,7 +65,7 @@ public class UnbenderTine extends CardImpl {
|
|||
|
||||
// {tap}: Untap another target permanent.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnbenderTineEffect(), new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class VithianRenegades extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class Exile extends CardImpl {
|
|||
this.color.setWhite(true);
|
||||
|
||||
// Exile target nonwhite attacking creature.
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new ExileTargetEffect());
|
||||
// You gain life equal to its toughness.
|
||||
this.getSpellAbility().addEffect(new ExileEffect());
|
||||
|
|
|
@ -62,7 +62,7 @@ public class DeathMutation extends CardImpl {
|
|||
|
||||
// Destroy target nonblack creature. It can't be regenerated.
|
||||
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.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost()));
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
this.getSpellAbility().addEffect(new OrimsThunderEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new OrimsThunderEffect2(),
|
||||
KickedCondition.getInstance(),
|
||||
|
|
|
@ -73,7 +73,7 @@ public class QuagmireDruid extends CardImpl {
|
|||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(false), new ColoredManaCost(ColoredManaSymbol.G));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(true)));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ public class KingSuleiman extends CardImpl {
|
|||
|
||||
// {tap}: Destroy target Djinn or Efreet.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ public class BanishingStroke extends CardImpl {
|
|||
|
||||
// Put target artifact, creature, or enchantment on the bottom of its owner's library.
|
||||
this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(false));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
|
||||
// Miracle {W}
|
||||
this.addAbility(new MiracleAbility(new ManaCostsImpl("{W}")));
|
||||
|
|
|
@ -56,7 +56,7 @@ public class Cursebreak extends CardImpl {
|
|||
this.color.setWhite(true);
|
||||
|
||||
// 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 GainLifeEffect(2));
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ public class DevoutChaplain extends CardImpl {
|
|||
// {tap}, Tap two untapped Humans you control: Exile target artifact or enchantment.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new TapSourceCost());
|
||||
ability.addCost(new TapTargetCost(new TargetControlledPermanent(2, 2, humanFilter, false)));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ public class EatenBySpiders extends CardImpl {
|
|||
|
||||
// Destroy target creature with flying and all Equipment attached to that creature.
|
||||
this.getSpellAbility().addEffect(new EatenBySpidersEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
|
||||
}
|
||||
|
||||
public EatenBySpiders(final EatenBySpiders card) {
|
||||
|
|
|
@ -55,7 +55,7 @@ public class HumanFrailty extends CardImpl {
|
|||
this.color.setBlack(true);
|
||||
|
||||
// Destroy target Human creature.
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class NaturalEnd extends CardImpl {
|
|||
// Destroy target artifact or enchantment. You gain 3 life.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
}
|
||||
|
||||
public NaturalEnd(final NaturalEnd card) {
|
||||
|
|
|
@ -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.
|
||||
this.getSpellAbility().addEffect(new PeelFromRealityEffect());
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(true));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
|
||||
}
|
||||
|
||||
public PeelFromReality(final PeelFromReality card) {
|
||||
|
|
|
@ -62,7 +62,7 @@ public class Thunderbolt extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetPlayer(true));
|
||||
Mode mode = new Mode();
|
||||
mode.getEffects().add(new DamageTargetEffect(4));
|
||||
mode.getTargets().add(new TargetCreaturePermanent(filter));
|
||||
mode.getTargets().add(new TargetCreaturePermanent(filter, true));
|
||||
this.getSpellAbility().addMode(mode);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class Eradicate extends CardImpl {
|
|||
|
||||
// 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.
|
||||
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"));
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public class HerosDemise extends CardImpl {
|
|||
this.color.setBlack(true);
|
||||
// Destroy target legendary creature.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
|
||||
}
|
||||
|
||||
public HerosDemise(final HerosDemise card) {
|
||||
|
|
|
@ -71,7 +71,7 @@ public class IsaoEnlightenedBushi extends CardImpl {
|
|||
this.addAbility(new BushidoAbility(2));
|
||||
// {2}: Regenerate target Samurai.
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class MinamoSightbender extends CardImpl {
|
|||
|
||||
// {X}, {T}: Target creature with power X or less is unblockable this turn.
|
||||
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);
|
||||
ability.addTarget(target);
|
||||
ability.addCost(new TapSourceCost());
|
||||
|
|
|
@ -102,7 +102,7 @@ class MistbladeShinobiTriggeredAbility extends TriggeredAbilityImpl {
|
|||
FilterCreaturePermanent filter = new FilterCreaturePermanent("creature " + opponent.getName() + " controls");
|
||||
filter.add(new ControllerIdPredicate(opponent.getId()));
|
||||
this.getTargets().clear();
|
||||
this.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ public class NezumiShadowWatcher extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
// Sacrifice Nezumi Shadow-Watcher: Destroy target Ninja.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ public class PusKami extends CardImpl {
|
|||
// {B}, Sacrifice Pus Kami: Destroy target nonblack creature.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ColoredManaCost(ColoredManaSymbol.B));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
this.addAbility(new SoulshiftAbility(6));
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class Scour extends CardImpl {
|
|||
|
||||
// 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.
|
||||
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"));
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
// 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"));
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ public class Splinter extends CardImpl {
|
|||
|
||||
// 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.
|
||||
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"));
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public class TerashisGrasp extends CardImpl {
|
|||
this.color.setWhite(true);
|
||||
|
||||
// Destroy target artifact or enchantment.
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
// You gain life equal to its converted mana cost.
|
||||
this.getSpellAbility().addEffect(new TerashisGraspEffect());
|
||||
|
|
|
@ -72,7 +72,7 @@ public class ThatWhichWasTaken extends CardImpl {
|
|||
// {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.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Each permanent with a divinity counter on it is indestructible.
|
||||
|
|
|
@ -64,7 +64,7 @@ public class ThreadsOfDisloyalty extends CardImpl {
|
|||
this.subtype.add("Aura");
|
||||
|
||||
// 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().addEffect(new AttachEffect(Outcome.GainControl));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
|
|
|
@ -105,7 +105,7 @@ class ThroatSlitterTriggeredAbility extends TriggeredAbilityImpl {
|
|||
filter.add(Predicates.not(new ColorPredicate(ObjectColor.BLACK)));
|
||||
filter.setMessage("nonblack creature controlled by " + game.getPlayer(event.getTargetId()).getName());
|
||||
this.getTargets().clear();
|
||||
this.addTarget(new TargetPermanent(filter));
|
||||
this.addTarget(new TargetPermanent(filter, true));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -74,7 +74,7 @@ public class AkroanConscriptor extends CardImpl {
|
|||
effect = new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn);
|
||||
effect.setText("It gains haste until end of turn");
|
||||
ability.addEffect(effect);
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ public class NessianDemolok extends CardImpl {
|
|||
this.addAbility(new TributeAbility(3));
|
||||
// When Nessian Demolok enters the battlefield, if tribute wasn't paid, destroy target noncreature permanent.
|
||||
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(),
|
||||
"When {this} enters the battlefield, if its tribute wasn't paid, destroy target noncreature permanent."));
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ public class Befoul extends CardImpl {
|
|||
this.color.setBlack(true);
|
||||
// Destroy target land or nonblack creature. It can't be regenerated.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
}
|
||||
|
||||
public Befoul (final Befoul card) {
|
||||
|
|
|
@ -63,7 +63,7 @@ public class BlindWithAnger extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new UntapTargetEffect());
|
||||
this.getSpellAbility().addEffect(new GainControlTargetEffect(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);
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ public class CrushingPain extends CardImpl {
|
|||
|
||||
// Crushing Pain deals 6 damage to target creature that was dealt damage this turn.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(6));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
|
||||
}
|
||||
|
||||
public CrushingPain (final CrushingPain card) {
|
||||
|
|
|
@ -60,7 +60,7 @@ public class EiganjoCastle extends CardImpl {
|
|||
this.addAbility(new WhiteManaAbility());
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new ColoredManaCost(ColoredManaSymbol.W));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class HearthKami extends CardImpl {
|
|||
ability.getTargets().clear();
|
||||
FilterArtifactPermanent filter = new FilterArtifactPermanent(new StringBuilder("artifact with converted mana cost ").append(xValue).toString());
|
||||
filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.Equal, xValue));
|
||||
Target target = new TargetPermanent(filter);
|
||||
Target target = new TargetPermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
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);
|
||||
|
||||
// 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.
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public class KamiOfAncientLaw extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public class KitsuneDiviner extends CardImpl {
|
|||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(1);
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public class KitsuneHealer extends CardImpl {
|
|||
this.addAbility(firstAbility);
|
||||
// {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());
|
||||
secondAbility.addTarget(new TargetCreaturePermanent(filter));
|
||||
secondAbility.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(secondAbility);
|
||||
}
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ class AutumnTailKitsuneSage extends Token {
|
|||
|
||||
// {1}: Attach target Aura attached to a creature to another creature.
|
||||
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));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ public class MinamoSchoolAtWatersEdge extends CardImpl {
|
|||
this.addAbility(new BlueManaAbility());
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new ColoredManaCost(ColoredManaSymbol.U));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
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());
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public class OkinaTempleToTheGrandfathers extends CardImpl {
|
|||
this.addAbility(new GreenManaAbility());
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.G));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public class QuietPurity extends CardImpl {
|
|||
this.expansionSetCode = "CHK";
|
||||
this.subtype.add("Arcane");
|
||||
this.color.setWhite(true);
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ public class RendFlesh extends CardImpl {
|
|||
this.expansionSetCode = "CHK";
|
||||
this.subtype.add("Arcane");
|
||||
this.color.setBlack(true);
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
this.getSpellAbility().addTarget(target);
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class RendSpirit extends CardImpl {
|
|||
super(ownerId, 141, "Rend Spirit", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{B}");
|
||||
this.expansionSetCode = "CHK";
|
||||
this.color.setBlack(true);
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ShinkaTheBloodsoakedKeep extends CardImpl {
|
|||
this.addAbility(new RedManaAbility());
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ShizoDeathsStorehouse extends CardImpl {
|
|||
this.addAbility(new BlackManaAbility());
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FearAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public class WearAway extends CardImpl {
|
|||
|
||||
// Destroy target artifact or enchantment.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
Target target = new TargetPermanent(filter);
|
||||
Target target = new TargetPermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
this.getSpellAbility().addTarget(target);
|
||||
// Splice onto Arcane {3}{G}
|
||||
|
|
|
@ -79,7 +79,7 @@ public class AdarkarValkyrie extends CardImpl {
|
|||
this.addAbility(VigilanceAbility.getInstance());
|
||||
// {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());
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ public class Shriekmaw extends CardImpl {
|
|||
|
||||
// When Shriekmaw enters the battlefield, destroy target nonartifact, nonblack creature.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(),false);
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -69,7 +69,7 @@ public class DeepfireElemental extends CardImpl {
|
|||
|
||||
// {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.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class BeaconBehemoth extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class CelestialPurge extends CardImpl {
|
|||
super(ownerId, 5, "Celestial Purge", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||
this.expansionSetCode = "CON";
|
||||
this.color.setWhite(true);
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new ExileTargetEffect());
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class ControlledInstincts extends CardImpl {
|
|||
this.color.setBlue(true);
|
||||
|
||||
// Enchant red or green creature
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent(filter);
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent(filter, true);
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
|
||||
this.addAbility(new EnchantAbility(auraTarget.getTargetName()));
|
||||
|
|
|
@ -75,7 +75,7 @@ public class EtherswornAdjudicator extends CardImpl {
|
|||
// {1}{W}{B}, {T}: Destroy target creature or enchantment.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
Target target = new TargetPermanent(filter);
|
||||
Target target = new TargetPermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -65,7 +65,7 @@ public class FiligreeFracture extends CardImpl {
|
|||
this.color.setGreen(true);
|
||||
|
||||
// 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 FiligreeFractureEffect());
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GwafaHazidProfiteerEffect1(), new ManaCostsImpl("{W}{U}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Creatures with bribery counters on them can't attack or block.
|
||||
|
|
|
@ -56,7 +56,7 @@ public class MoltenFrame extends CardImpl {
|
|||
this.expansionSetCode = "CON";
|
||||
this.color.setRed(true);
|
||||
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}")));
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class NicolBolasPlaneswalker extends CardImpl {
|
|||
|
||||
// +3: Destroy target noncreature permanent.
|
||||
LoyaltyAbility ability = new LoyaltyAbility(new DestroyTargetEffect(), 3);
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
// -2: Gain control of target creature.
|
||||
ability = new LoyaltyAbility(new GainControlTargetEffect(Duration.Custom), -2);
|
||||
|
|
|
@ -66,7 +66,7 @@ public class VagrantPlowbeasts extends CardImpl {
|
|||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new RegenerateTargetEffect(),
|
||||
new ManaCostsImpl("{1}"));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
this.getSpellAbility().addEffect(new AlphaBrawlEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter, true));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ public class CrushingVines extends CardImpl {
|
|||
this.color.setGreen(true);
|
||||
|
||||
// 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());
|
||||
Mode mode = new Mode();
|
||||
mode.getTargets().add(new TargetArtifactPermanent());
|
||||
|
|
|
@ -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.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect(), false);
|
||||
ability.addEffect(new DungeonGeistsEffect());
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -96,7 +96,7 @@ class FeedThePackEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Target target = new TargetPermanent(filter);
|
||||
Target target = new TargetPermanent(filter, true);
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player.choose(Outcome.PutCreatureInPlay, target, source.getSourceId(), game)) {
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
|
|
|
@ -69,7 +69,7 @@ public class Helvault extends CardImpl {
|
|||
// {7}, {tap}: Exile target creature you don't control.
|
||||
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetForSourceEffect("Helvault exile"), new GenericManaCost(7));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
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.
|
||||
this.addAbility(new DiesTriggeredAbility(new ReturnFromExileForSourceEffect(Zone.BATTLEFIELD)));
|
||||
|
|
|
@ -58,7 +58,7 @@ public class RayOfRevelation extends CardImpl {
|
|||
this.color.setWhite(true);
|
||||
|
||||
// Destroy target enchantment.
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
// Flashback {G}
|
||||
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{G}"), TimingRule.INSTANT));
|
||||
|
|
|
@ -60,7 +60,7 @@ public class SavingGrasp extends CardImpl {
|
|||
this.color.setBlue(true);
|
||||
|
||||
// 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());
|
||||
// Flashback {W}
|
||||
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{W}"), TimingRule.INSTANT));
|
||||
|
|
|
@ -110,7 +110,7 @@ class SoulSeizerTriggeredAbility extends TriggeredAbilityImpl {
|
|||
filter.add(new ControllerIdPredicate(opponent.getId()));
|
||||
|
||||
this.getTargets().clear();
|
||||
this.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ class WerewolfRansackerAbility extends TriggeredAbilityImpl {
|
|||
|
||||
public WerewolfRansackerAbility() {
|
||||
super(Zone.BATTLEFIELD, new WerewolfRansackerEffect(), true);
|
||||
Target target = new TargetPermanent(filter);
|
||||
Target target = new TargetPermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
this.addTarget(target);
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ public class WolfhuntersQuiver extends CardImpl {
|
|||
WolfhuntersQuiverAbility ability = new WolfhuntersQuiverAbility(1, new TargetCreatureOrPlayer());
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.EQUIPMENT)));
|
||||
// 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)));
|
||||
// Equip {5}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(5)));
|
||||
|
|
|
@ -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)));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new GenericManaCost(1));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
|
||||
}
|
||||
|
|
|
@ -63,10 +63,10 @@ public class Coretapper extends CardImpl {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
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);
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class EchoingCalm extends CardImpl {
|
|||
|
||||
this.color.setWhite(true);
|
||||
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter, true));
|
||||
this.getSpellAbility().addEffect(new EchoingCalmEffect());
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public class Oxidize extends CardImpl {
|
|||
this.expansionSetCode = "DST";
|
||||
this.color.setGreen(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) {
|
||||
|
|
|
@ -64,7 +64,7 @@ public class PteronGhost extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ public class SlobadGoblinTinkerer extends CardImpl {
|
|||
effect.setText("Target artifact is indestructible this turn");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
effect, new SacrificeTargetCost(new TargetControlledPermanent(filterControlled)));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ public class ViridianZealot extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{G}"));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ public class VoltaicConstruct extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(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);
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public class HaazdaExonerator extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ public class IndrikStomphowler extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public class PsychoticFury extends CardImpl {
|
|||
this.color.setRed(true);
|
||||
|
||||
// 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));
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
|
||||
|
|
|
@ -59,7 +59,7 @@ public class SealOfDoom extends CardImpl {
|
|||
this.expansionSetCode = "DIS";
|
||||
this.color.setBlack(true);
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public class ClearAPath extends CardImpl {
|
|||
|
||||
// Destroy target creature with defender.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
this.getSpellAbility().addTarget(target);
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ public class DeputyOfAcquittals extends CardImpl {
|
|||
this.addAbility(FlashAbility.getInstance());
|
||||
// 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);
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -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.
|
||||
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.");
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -68,7 +68,7 @@ public class RunnersBane extends CardImpl {
|
|||
this.color.setBlue(true);
|
||||
|
||||
// Enchant creature with power 3 or less
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent(filter);
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent(filter, true);
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.UnboostCreature));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
|
|
|
@ -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.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new ScabClanGiantEffect());
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
Target target = new TargetCreaturePermanent(filter, true);
|
||||
target.setRandom(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -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.
|
||||
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());
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public class DwarvenDemolitionTeam extends CardImpl {
|
|||
|
||||
// {tap}: Destroy target Wall.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public class DaruEncampment extends CardImpl {
|
|||
new BoostTargetEffect(1, 1, Duration.EndOfTurn),
|
||||
new ManaCostsImpl("{W}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
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.
|
||||
Mode mode = new Mode();
|
||||
|
|
|
@ -70,7 +70,7 @@ public class MishrasFactory extends CardImpl {
|
|||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new BoostTargetEffect(1, 1, Duration.EndOfTurn),
|
||||
new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
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);
|
||||
|
||||
// Persist
|
||||
|
|
|
@ -100,7 +100,7 @@ class AshlingTheExtinguisherTriggeredAbility extends TriggeredAbilityImpl {
|
|||
filter.add(new ControllerIdPredicate(opponent.getId()));
|
||||
|
||||
this.getTargets().clear();
|
||||
this.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ public class BanishingKnack extends CardImpl {
|
|||
this.expansionSetCode = "EVE";
|
||||
this.color.setBlue(true);
|
||||
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().addTarget(new TargetCreaturePermanent(true));
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
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);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue