* Made targets mandatory (1333 cards).

This commit is contained in:
LevelX2 2014-06-10 00:15:38 +02:00
parent 026b3a41c3
commit 678b9acbf0
1334 changed files with 1412 additions and 1410 deletions

View file

@ -64,7 +64,7 @@ public class Anathemancer extends CardImpl {
// When Anathemancer enters the battlefield, it deals damage to target player equal to the number of nonbasic lands that player controls.
EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(new AnathemancerCount()));
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
// Unearth {5}{B}{R}
this.addAbility(new UnearthAbility(new ManaCostsImpl("{5}{B}{R}")));

View file

@ -67,7 +67,7 @@ public class ArchitectsOfWill extends CardImpl {
// When Architects of Will enters the battlefield, look at the top three cards of target player's library, then put them back in any order.
Ability ability = new EntersBattlefieldTriggeredAbility(new ArchitectsOfWillEffect(), false);
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
// Cycling {UB}

View file

@ -52,7 +52,7 @@ public class Brainbite extends CardImpl {
this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect());
// Draw a card.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
this.getSpellAbility().addTarget(new TargetOpponent());
this.getSpellAbility().addTarget(new TargetOpponent(true));
}
public Brainbite(final Brainbite card) {

View file

@ -47,7 +47,7 @@ public class DenyReality extends CardImpl {
this.expansionSetCode = "ARB";
this.color.setBlue(true);
this.color.setBlack(true);
this.getSpellAbility().addTarget(new TargetPermanent());
this.getSpellAbility().addTarget(new TargetPermanent(true));
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
this.addAbility(new CascadeAbility());
}

View file

@ -61,8 +61,8 @@ public class EsperSojourners extends CardImpl {
// When you cycle Esper Sojourners or it dies, you may tap or untap target permanent.
Ability ability1 = new CycleTriggeredAbility(new MayTapOrUntapTargetEffect());
Ability ability2 = new DiesTriggeredAbility(new MayTapOrUntapTargetEffect());
ability1.addTarget(new TargetPermanent());
ability2.addTarget(new TargetPermanent());
ability1.addTarget(new TargetPermanent(true));
ability2.addTarget(new TargetPermanent(true));
this.addAbility(ability1);
this.addAbility(ability2);

View file

@ -53,7 +53,7 @@ public class IdentityCrisis extends CardImpl {
this.color.setWhite(true);
this.color.setBlack(true);
this.getSpellAbility().addEffect(new IdentityCrisisEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
}
public IdentityCrisis (final IdentityCrisis card) {

View file

@ -61,7 +61,7 @@ public class Lavalanche extends CardImpl {
// Lavalanche deals X damage to target player and each creature he or she controls.
this.getSpellAbility().addEffect(new LavalancheEffect(new ManacostVariableValue()));
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
}

View file

@ -75,7 +75,7 @@ public class LichLordOfUnx extends CardImpl {
this.addAbility(ability);
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(new PermanentsOnBattlefieldCount(filter)), new ManaCostsImpl("{U}{U}{B}{B}"));
ability.addEffect(new PutLibraryIntoGraveTargetEffect(new PermanentsOnBattlefieldCount(filter, 1)));
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -59,7 +59,7 @@ public class MageSlayer extends CardImpl {
this.addAbility(new AttacksAttachedTriggeredAbility(new MageSlayerEffect(), false));
// Equip {3}
this.addAbility(new EquipAbility(Outcome.Benefit, new GenericManaCost(3), new TargetControlledCreaturePermanent()));
this.addAbility(new EquipAbility(Outcome.Benefit, new GenericManaCost(3), new TargetControlledCreaturePermanent(true)));
}

View file

@ -70,7 +70,7 @@ public class NecromancersCovenant extends CardImpl {
// When Necromancer's Covenant enters the battlefield, exile all creature cards from target player's graveyard, then put a 2/2 black Zombie creature token onto the battlefield for each card exiled this way.
Ability ability = new EntersBattlefieldTriggeredAbility(new NecromancersConvenantEffect(), false);
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
// Zombies you control have lifelink.

View file

@ -54,7 +54,7 @@ public class NulltreadGargantuan extends CardImpl {
this.power = new MageInt(5);
this.toughness = new MageInt(6);
Ability ability = new EntersBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(true), false);
Target target = new TargetControlledCreaturePermanent();
Target target = new TargetControlledCreaturePermanent(true);
target.setRequired(true);
target.setNotTarget(true);
ability.addTarget(target);

View file

@ -55,7 +55,7 @@ public class SanityGnawers extends CardImpl {
// When Sanity Gnawers enters the battlefield, target player discards a card at random.
Ability ability = new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(1, true), false);
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -66,7 +66,7 @@ public class ShieldOfTheRighteous extends CardImpl {
this.addAbility(new BlocksCreatureAttachedTriggeredAbility(new SkipNextUntapTargetEffect("that creature"), "equipped", false, false, true));
// Equip {2}
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2), new TargetControlledCreaturePermanent()));
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2), new TargetControlledCreaturePermanent(true)));
}
public ShieldOfTheRighteous(final ShieldOfTheRighteous card) {

View file

@ -62,7 +62,7 @@ public class SingeMindOgre extends CardImpl {
// When Singe-Mind Ogre enters the battlefield, target player reveals a card at random from his or her hand, then loses life equal to that card's converted mana cost.
Ability ability = new EntersBattlefieldTriggeredAbility(new SingeMindOgreEffect(), false);
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -56,7 +56,7 @@ public class ThoughtHemorrhage extends CardImpl {
this.color.setBlack(true);
// Name a nonland card. Target player reveals his or her hand. Thought Hemorrhage deals 3 damage to that player for each card with that name revealed this way. Search that player's graveyard, hand, and library for all cards with that name and exile them. Then that player shuffles his or her library.
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
this.getSpellAbility().addEffect(new ThoughtHemorrhageEffect());
}

View file

@ -83,7 +83,7 @@ public class UnscytheKillerOfKings extends CardImpl {
this.addWatcher(new EquippedDidDamageWatcher());
// Equip {2}
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2), new TargetControlledCreaturePermanent()));
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2), new TargetControlledCreaturePermanent(true)));
}
public UnscytheKillerOfKings(final UnscytheKillerOfKings card) {

View file

@ -66,7 +66,7 @@ public class VectisDominator extends CardImpl {
// {tap}: Tap target creature unless its controller pays 2 life.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VectisDominatorEffect(new PayLifeCost(2)), new ManaCostsImpl("{1}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -61,7 +61,7 @@ public class SoldierOfFortune extends CardImpl {
// {R}, {T}: Target player shuffles his or her library.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SoldierOfFortuneEffect(), new TapSourceCost());
ability.addManaCost(new ManaCostsImpl("{R}"));
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -52,7 +52,7 @@ public class AEtherMutation extends CardImpl {
// Return target creature to its owner's hand.
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(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()));
}

View file

@ -57,11 +57,11 @@ public class AnaDisciple extends CardImpl {
this.toughness = new MageInt(1);
Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.U));
firstAbility.addCost(new TapSourceCost());
firstAbility.addTarget(new TargetCreaturePermanent());
firstAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(firstAbility);
Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-2, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B));
secondAbility.addCost(new TapSourceCost());
secondAbility.addTarget(new TargetCreaturePermanent());
secondAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(secondAbility);
}

View file

@ -55,7 +55,7 @@ public class CetaDisciple extends CardImpl {
this.toughness = new MageInt(1);
Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R));
firstAbility.addCost(new TapSourceCost());
firstAbility.addTarget(new TargetCreaturePermanent());
firstAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(firstAbility);
Ability secondAbility = new AnyColorManaAbility(new ColoredManaCost(ColoredManaSymbol.G));
secondAbility.addCost(new TapSourceCost());

View file

@ -55,11 +55,11 @@ public class DegaDisciple extends CardImpl {
this.toughness = new MageInt(1);
Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-2, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B));
firstAbility.addCost(new TapSourceCost());
firstAbility.addTarget(new TargetCreaturePermanent());
firstAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(firstAbility);
Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R));
secondAbility.addCost(new TapSourceCost());
secondAbility.addTarget(new TargetCreaturePermanent());
secondAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(secondAbility);
}

View file

@ -59,7 +59,7 @@ public class DiversionaryTactics extends CardImpl {
this.expansionSetCode = "APC";
this.color.setWhite(true);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, false)));
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -47,7 +47,7 @@ public class LastCaress extends CardImpl {
this.expansionSetCode = "APC";
this.color.setBlack(true);
this.getSpellAbility().addEffect(new LoseLifeTargetEffect(1));
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
this.getSpellAbility().addEffect(new GainLifeEffect(1));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
}

View file

@ -61,7 +61,7 @@ public class LegacyWeapon extends CardImpl {
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new ExileTargetEffect(),
new ManaCostsImpl("{W}{U}{B}{R}{G}"));
ability.addTarget(new TargetPermanent());
ability.addTarget(new TargetPermanent(true));
this.addAbility(ability);
// If Legacy Weapon would be put into a graveyard from anywhere, reveal Legacy Weapon and shuffle it into its owner's library instead.
this.addAbility(new PutIntoGraveFromAnywhereTriggeredAbility(new LegacyWeaponEffect()));

View file

@ -55,7 +55,7 @@ public class ManaclesOfDecay extends CardImpl {
this.color.setWhite(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -52,7 +52,7 @@ public class MartyrsTomb extends CardImpl {
this.color.setBlack(true);
this.color.setWhite(true);
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new PayLifeCost(2));
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -86,7 +86,7 @@ public class OrimsThunder extends CardImpl {
public void adjustTargets(Ability ability, Game game) {
if (ability instanceof SpellAbility) {
if (KickedCondition.getInstance().apply(game, ability)) {
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
}
}
}

View file

@ -72,7 +72,7 @@ public class QuagmireDruid extends CardImpl {
// {G}, {T}, Sacrifice a creature: Destroy target enchantment.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(false), new ColoredManaCost(ColoredManaSymbol.G));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(true)));
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
}

View file

@ -62,7 +62,7 @@ public class QuicksilverDagger extends CardImpl {
this.color.setBlue(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());
@ -70,7 +70,7 @@ public class QuicksilverDagger extends CardImpl {
// Enchanted creature has "{tap}: This creature deals 1 damage to target player. You draw a card."
Ability gainAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
gainAbility.addTarget(new TargetPlayer());
gainAbility.addTarget(new TargetPlayer(true));
gainAbility.addEffect(new DrawCardSourceControllerEffect(1));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(gainAbility, AttachmentType.AURA)));
}

View file

@ -61,7 +61,7 @@ public class RakaDisciple extends CardImpl {
this.addAbility(firstAbility);
Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.U));
secondAbility.addCost(new TapSourceCost());
secondAbility.addTarget(new TargetCreaturePermanent());
secondAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(secondAbility);
}

View file

@ -61,7 +61,7 @@ public class SavageGorilla extends CardImpl {
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addEffect(new DrawCardSourceControllerEffect(1));
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -46,7 +46,7 @@ public class TemporalSpring extends CardImpl {
this.color.setBlue(true);
this.color.setGreen(true);
this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
this.getSpellAbility().addTarget(new TargetPermanent());
this.getSpellAbility().addTarget(new TargetPermanent(true));
}
public TemporalSpring(final TemporalSpring card) {

View file

@ -47,7 +47,7 @@ public class Vindicate extends CardImpl {
this.color.setWhite(true);
this.color.setBlack(true);
this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addTarget(new TargetPermanent());
this.getSpellAbility().addTarget(new TargetPermanent(true));
}
public Vindicate (final Vindicate card) {

View file

@ -59,7 +59,7 @@ public class Aggravate extends CardImpl {
// Aggravate deals 1 damage to each creature target player controls.
this.getSpellAbility().addEffect(new AggraveteEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
// Each creature dealt damage this way attacks this turn if able.
this.getSpellAbility().addEffect(new AggravateRequirementEffect());
this.addWatcher(new DamagedByWatcher());

View file

@ -56,7 +56,7 @@ public class AppetiteForBrains extends CardImpl {
// Target opponent reveals his or her hand. You choose a card from it with converted mana cost 4 or greater and exile that card.
this.getSpellAbility().addEffect(new ExileCardYouChooseTargetOpponentEffect(filter));
this.getSpellAbility().addTarget(new TargetOpponent());
this.getSpellAbility().addTarget(new TargetOpponent(true));
}
public AppetiteForBrains(final AppetiteForBrains card) {

View file

@ -58,7 +58,7 @@ public class BloodArtist extends CardImpl {
// Whenever Blood Artist or another creature dies, target player loses 1 life and you gain 1 life.
Ability ability = new DiesThisOrAnotherCreatureTriggeredAbility(new LoseLifeTargetEffect(1), false);
ability.addEffect(new GainLifeEffect(1));
Target target = new TargetPlayer();
Target target = new TargetPlayer(true);
target.setRequired(true);
ability.addTarget(target);
this.addAbility(ability);

View file

@ -59,7 +59,7 @@ public class BloodflowConnoisseur extends CardImpl {
// Sacrifice a creature: Put a +1/+1 counter on Bloodflow Connoisseur.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl());
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(true)));
this.addAbility(ability);
}

View file

@ -58,7 +58,7 @@ public class BonfireOfTheDamned extends CardImpl {
// Bonfire of the Damned deals X damage to target player and each creature he or she controls.
this.getSpellAbility().addEffect(new BonfireOfTheDamnedEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
// Miracle {X}{R}
this.addAbility(new MiracleAbility(new ManaCostsImpl("{X}{R}")));

View file

@ -65,7 +65,7 @@ public class CallToServe extends CardImpl {
this.color.setWhite(true);
// Enchant nonblack creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -76,7 +76,7 @@ public class CaptainOfTheMists extends CardImpl {
// {1}{U}, {tap}: You may tap or untap target permanent.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MayTapOrUntapTargetEffect(), new ManaCostsImpl("{1}{U}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent());
ability.addTarget(new TargetPermanent(true));
this.addAbility(ability);
}

View file

@ -49,7 +49,7 @@ public class Cloudshift extends CardImpl {
this.color.setWhite(true);
// Exile target creature you control, then return that card to the battlefield under your control.
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(true));
this.getSpellAbility().addEffect(new ExileTargetForSourceEffect("Cloudshift"));
this.getSpellAbility().addEffect(new ReturnToBattlefieldUnderYourControlTargetEffect());
}

View file

@ -55,7 +55,7 @@ public class CommandersAuthority extends CardImpl {
this.color.setWhite(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -50,7 +50,7 @@ public class ConjurersCloset extends CardImpl {
// At the beginning of your end step, you may exile target creature you control, then return that card to the battlefield under your control.
Ability ability = new BeginningOfYourEndStepTriggeredAbility(new ExileTargetForSourceEffect("Conjurer's Closet Exile"), true);
ability.addEffect(new ReturnToBattlefieldUnderYourControlTargetEffect());
ability.addTarget(new TargetControlledCreaturePermanent());
ability.addTarget(new TargetControlledCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -60,7 +60,7 @@ public class CorpseTraders extends CardImpl {
// {2}{B}, Sacrifice a creature: Target opponent reveals his or her hand. You choose a card from it. That player discards that card. Activate this ability only any time you could cast a sorcery.
Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardCardYouChooseTargetEffect(), new ManaCostsImpl("{2}{B}"));
ability.addTarget(new TargetOpponent(true));
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(true)));
this.addAbility(ability);
}

View file

@ -50,7 +50,7 @@ public class CripplingChill extends CardImpl {
this.color.setBlue(true);
// Tap target creature. It doesn't untap during its controller's next untap step.
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
this.getSpellAbility().addEffect(new TapTargetEffect());
this.getSpellAbility().addEffect(new SkipNextUntapTargetEffect());
// Draw a card.

View file

@ -68,7 +68,7 @@ public class DarkImpostor extends CardImpl {
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ImprintTargetEffect(), new ManaCostsImpl("{4}{B}{B}"));
ability.addEffect(new ExileTargetEffect(null, "Dark Impostor"));
ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance()));
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
// Dark Impostor has all activated abilities of all creature cards exiled with it.

View file

@ -53,7 +53,7 @@ public class DeathWind extends CardImpl {
// Target creature gets -X/-X until end of turn.
DynamicValue x = new SignInversionDynamicValue(new ManacostVariableValue());
this.getSpellAbility().addEffect(new BoostTargetEffect(x, x, Duration.EndOfTurn, true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public DeathWind(final DeathWind card) {

View file

@ -55,7 +55,7 @@ public class Defang extends CardImpl {
this.color.setWhite(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -59,7 +59,7 @@ public class Dreadwaters extends CardImpl {
this.color.setBlue(true);
// Target player puts the top X cards of his or her library into his or her graveyard, where X is the number of lands you control.
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(new PermanentsOnBattlefieldCount(filter)));
}

View file

@ -68,7 +68,7 @@ public class DualCasting extends CardImpl {
this.color.setRed(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -55,7 +55,7 @@ public class EssenceHarvest extends CardImpl {
// Target player loses X life and you gain X life, where X is the greatest power among creatures you control.
this.getSpellAbility().addEffect(new EssenceHarvestEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
}
public EssenceHarvest(final EssenceHarvest card) {

View file

@ -64,7 +64,7 @@ public class FalkenrathExterminator extends CardImpl {
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false));
// {2}{R}: Falkenrath Exterminator deals damage to target creature equal to the number of +1/+1 counters on Falkenrath Exterminator.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new CountersCount(CounterType.P1P1)), new ManaCostsImpl("{2}{R}"));
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -72,7 +72,7 @@ public class GallowsAtWillowHill extends CardImpl {
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GallowsAtWillowHillEffect(), new GenericManaCost(3));
ability.addCost(new TapSourceCost());
ability.addCost(new TapTargetCost(new TargetControlledPermanent(3, 3, humanFilter, false)));
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -56,7 +56,7 @@ public class GhostlyTouch extends CardImpl {
this.color.setBlue(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());
@ -64,7 +64,7 @@ public class GhostlyTouch extends CardImpl {
// Enchanted creature has "Whenever this creature attacks, you may tap or untap target permanent."
Ability gainedAbility = new AttacksTriggeredAbility(new MayTapOrUntapTargetEffect(), true);
gainedAbility.addTarget(new TargetPermanent());
gainedAbility.addTarget(new TargetPermanent(true));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA)));
}

View file

@ -54,7 +54,7 @@ public class Ghoulflesh extends CardImpl {
this.color.setBlack(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.UnboostCreature));
this.addAbility(new EnchantAbility(auraTarget.getTargetName()));

View file

@ -64,7 +64,7 @@ public class GraveExchange extends CardImpl {
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(filter));
// Target player sacrifices a creature.
this.getSpellAbility().addEffect(new GraveExchangeEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
}
public GraveExchange(final GraveExchange card) {

View file

@ -53,7 +53,7 @@ public class Grounded extends CardImpl {
this.color.setGreen(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.LoseAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -54,7 +54,7 @@ public class GuiseOfFire extends CardImpl {
this.color.setRed(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -62,7 +62,7 @@ public class HolyJusticiar extends CardImpl {
// {2}{W}, {tap}: Tap target creature. If that creature is a Zombie, exile it.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new HolyJusticiarEffect(), new ManaCostsImpl("{2}{W}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -63,7 +63,7 @@ public class InfiniteReflection extends CardImpl {
this.color.setBlue(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Copy));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -55,7 +55,7 @@ public class JointAssault extends CardImpl {
// Target creature gets +2/+2 until end of turn. If it's paired with a creature, that creature also gets +2/+2 until end of turn.
this.getSpellAbility().addEffect(new JointAssaultBoostTargetEffect(2, 2, Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public JointAssault(final JointAssault card) {

View file

@ -64,7 +64,7 @@ public class KessigMalcontents extends CardImpl {
// When Kessig Malcontents enters the battlefield, it deals damage to target player equal to the number of Humans you control.
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter)));
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -53,7 +53,7 @@ public class LeapOfFaith extends CardImpl {
// Target creature gains flying until end of turn. Prevent all damage that would be dealt to that creature this turn.
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addEffect(new PreventDamageToTargetEffect(Duration.EndOfTurn, Integer.MAX_VALUE));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public LeapOfFaith(final LeapOfFaith card) {

View file

@ -58,7 +58,7 @@ public class LightningProwess extends CardImpl {
this.color.setRed(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -57,7 +57,7 @@ public class MaliciousIntent extends CardImpl {
this.color.setRed(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());
@ -65,7 +65,7 @@ public class MaliciousIntent extends CardImpl {
// Enchanted creature has "{tap}: Target creature can't block this turn."
Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBlockTargetEffect(Duration.EndOfTurn), new TapSourceCost());
gainedAbility.addTarget(new TargetCreaturePermanent());
gainedAbility.addTarget(new TargetCreaturePermanent(true));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA)));
}

View file

@ -50,7 +50,7 @@ public class MentalAgony extends CardImpl {
// Target player discards two cards and loses 2 life.
this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
this.getSpellAbility().addEffect(new LoseLifeTargetEffect(2));
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
}
public MentalAgony(final MentalAgony card) {

View file

@ -57,7 +57,7 @@ public class MidvastProtector extends CardImpl {
// When Midvast Protector enters the battlefield, target creature you control gains protection from the color of your choice until end of turn.
EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new GainProtectionFromColorTargetEffect(Duration.EndOfTurn), false);
ability.addTarget(new TargetControlledCreaturePermanent());
ability.addTarget(new TargetControlledCreaturePermanent(true));
ability.addChoice(new ChoiceColor());
this.addAbility(ability);
}

View file

@ -54,7 +54,7 @@ public class Necrobite extends CardImpl {
// Target creature gains deathtouch until end of turn. Regenerate it.
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addEffect(new RegenerateTargetEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public Necrobite(final Necrobite card) {

View file

@ -61,7 +61,7 @@ public class NephaliaSmuggler extends CardImpl {
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetForSourceEffect("Exile Nephalia Smuggler"), new ManaCostsImpl("{3}{U}"));
ability.addCost(new TapSourceCost());
ability.addEffect(new ReturnToBattlefieldUnderYourControlTargetEffect());
ability.addTarget(new TargetControlledCreaturePermanent());
ability.addTarget(new TargetControlledCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -63,7 +63,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());
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
}

View file

@ -59,7 +59,7 @@ public class PredatorsGambit extends CardImpl {
this.color.setBlack(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));

View file

@ -58,7 +58,7 @@ public class RevengeOfTheHunted extends CardImpl {
this.color.setGreen(true);
// Until end of turn, target creature gets +6/+6 and gains trample, and all creatures able to block it this turn do so.
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
this.getSpellAbility().addEffect(new BoostTargetEffect(6, 6, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
Effect effect = new MustBeBlockedByAllTargetEffect(Duration.EndOfTurn);

View file

@ -54,7 +54,7 @@ public class RotcrownGhoul extends CardImpl {
// When Rotcrown Ghoul dies, target player puts the top five cards of his or her library into his or her graveyard.
Ability ability = new DiesTriggeredAbility(new PutLibraryIntoGraveTargetEffect(5));
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -51,7 +51,7 @@ public class RushOfBlood extends CardImpl {
// Target creature gets +X/+0 until end of turn, where X is its power.
this.getSpellAbility().addEffect(new BoostTargetEffect(new TargetPermanentPowerCount(), new StaticValue(0), Duration.EndOfTurn, true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public RushOfBlood(final RushOfBlood card) {

View file

@ -57,7 +57,7 @@ public class ScaldingDevil extends CardImpl {
// {2}{R}: Scalding Devil deals 1 damage to target player.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{2}{R}"));
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -64,7 +64,7 @@ public class ScrollOfGriselbrand extends CardImpl {
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(1), new GenericManaCost(1));
ability.addCost(new SacrificeSourceCost());
ability.addEffect(new ConditionalOneShotEffect(new LoseLifeTargetEffect(3), new ControlsPermanentCondition(filter), "If you control a Demon, that player loses 3 life"));
ability.addTarget(new TargetOpponent());
ability.addTarget(new TargetOpponent(true));
this.addAbility(ability);
}

View file

@ -57,7 +57,7 @@ public class ShelteringWord extends CardImpl {
// Target creature you control gains hexproof until end of turn. You gain life equal to that creature's toughness.
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HexproofAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addEffect(new ShelteringWordEffect());
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(true));
}
public ShelteringWord(final ShelteringWord card) {

View file

@ -62,7 +62,7 @@ public class SlayersStronghold extends CardImpl {
ability.addEffect(new GainAbilityTargetEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn));
ability.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -53,7 +53,7 @@ public class SnareTheSkies extends CardImpl {
// Target creature gets +1/+1 and gains reach until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 1, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(ReachAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public SnareTheSkies(final SnareTheSkies card) {

View file

@ -63,7 +63,7 @@ public class SpectralPrison extends CardImpl {
this.color.setBlue(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));

View file

@ -57,7 +57,7 @@ public class SpiritAway extends CardImpl {
this.color.setBlue(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));

View file

@ -65,7 +65,7 @@ public class SternMentor extends CardImpl {
// As long as Stern Mentor is paired with another creature, each of those creatures has "{t}: Target player puts the top two cards of his or her library into his or her graveyard."
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(2), new TapSourceCost());
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityPairedEffect(ability, ruleText)));
}

View file

@ -55,7 +55,7 @@ public class StolenGoods extends CardImpl {
// Target opponent exiles cards from the top of his or her library until he or she exiles a nonland card. Until end of turn, you may cast that card without paying its mana cost.
this.getSpellAbility().addEffect(new StolenGoodsEffect());
this.getSpellAbility().addTarget(new TargetOpponent());
this.getSpellAbility().addTarget(new TargetOpponent(true));
}
public StolenGoods(final StolenGoods card) {

View file

@ -80,7 +80,7 @@ public class TamiyoTheMoonSage extends CardImpl {
// +1: Tap target permanent. It doesn't untap during its controller's next untap step.
LoyaltyAbility ability = new LoyaltyAbility(new TapTargetEffect(), 1);
ability.addEffect(new SkipNextUntapTargetEffect());
Target target = new TargetPermanent();
Target target = new TargetPermanent(true);
target.setRequired(true);
ability.addTarget(target);
this.addAbility(ability);

View file

@ -59,7 +59,7 @@ public class Thunderbolt extends CardImpl {
// Choose one - Thunderbolt deals 3 damage to target player; or Thunderbolt deals 4 damage to target creature with flying.
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addTarget(new TargetPlayer(true));
Mode mode = new Mode();
mode.getEffects().add(new DamageTargetEffect(4));
mode.getTargets().add(new TargetCreaturePermanent(filter));

View file

@ -56,7 +56,7 @@ public class TimberlandGuide extends CardImpl {
// When Timberland Guide enters the battlefield, put a +1/+1 counter on target creature.
Ability ability = new EntersBattlefieldTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
TargetCreaturePermanent target = new TargetCreaturePermanent();
TargetCreaturePermanent target = new TargetCreaturePermanent(true);
target.setRequired(true);
ability.addTarget(target);
this.addAbility(ability);

View file

@ -57,7 +57,7 @@ public class TriumphOfCruelty extends CardImpl {
// At the beginning of your upkeep, target opponent discards a card if you control the creature with the greatest power or tied for the greatest power.
TriggeredAbility ability = new BeginningOfUpkeepTriggeredAbility(new DiscardTargetEffect(1), TargetController.YOU, false);
Target target = new TargetOpponent();
Target target = new TargetOpponent(true);
target.setRequired(true);
ability.addTarget(target);
this.addAbility(new ConditionalTriggeredAbility(ability, ControlsBiggestOrTiedCreatureCondition.getInstance(), ruleText));

View file

@ -52,7 +52,7 @@ public class UncannySpeed extends CardImpl {
// Target creature gets +3/+0 and gains haste until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(3, 0, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public UncannySpeed(final UncannySpeed card) {

View file

@ -57,7 +57,7 @@ public class UndeadExecutioner extends CardImpl {
// When Undead Executioner dies, you may have target creature get -2/-2 until end of turn.
Ability ability = new DiesTriggeredAbility(new BoostTargetEffect(-2, -2, Duration.EndOfTurn), true);
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -54,7 +54,7 @@ public class UnhallowedPact extends CardImpl {
this.color.setBlack(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -61,7 +61,7 @@ public class ZealousConscripts extends CardImpl {
this.addAbility(HasteAbility.getInstance());
// When Zealous Conscripts enters the battlefield, gain control of target permanent until end of turn. Untap that permanent. It gains haste until end of turn.
Ability ability = new EntersBattlefieldTriggeredAbility(new GainControlTargetEffect(Duration.EndOfTurn));
ability.addTarget(new TargetPermanent());
ability.addTarget(new TargetPermanent(true));
ability.addEffect(new UntapTargetEffect());
ability.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn, "It gains haste until end of turn"));
this.addAbility(ability);

View file

@ -53,7 +53,7 @@ public class ZealousStrike extends CardImpl {
// Target creature gets +2/+2 and gains first strike until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public ZealousStrike(final ZealousStrike card) {

View file

@ -55,7 +55,7 @@ public class BileUrchin extends CardImpl {
this.toughness = new MageInt(1);
// Sacrifice Bile Urchin: Target player loses 1 life.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new SacrificeSourceCost());
ability.addTarget(new TargetPlayer());
ability.addTarget(new TargetPlayer(true));
this.addAbility(ability);
}

View file

@ -65,7 +65,7 @@ public class BlazingShoal extends CardImpl {
// Target creature gets +X/+0 until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(new ExileFromHandCostCardConvertedMana(), new StaticValue(0), Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}
public BlazingShoal(final BlazingShoal card) {

View file

@ -58,7 +58,7 @@ public class BlessingOfLeeches extends CardImpl {
this.addAbility(FlashAbility.getInstance());
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Regenerate));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

View file

@ -56,7 +56,7 @@ public class ChildOfThorns extends CardImpl {
this.toughness = new MageInt(1);
// Sacrifice Child of Thorns: Target creature gets +1/+1 until end of turn.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -53,7 +53,7 @@ public class FirstVolley extends CardImpl {
// First Volley deals 1 damage to target creature and 1 damage to that creature's controller.
this.getSpellAbility().addEffect(new FirstVolleyEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
}

View file

@ -55,7 +55,7 @@ public class Frostling extends CardImpl {
this.toughness = new MageInt(1);
// Sacrifice Frostling: Frostling deals 1 damage to target creature.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent());
ability.addTarget(new TargetCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -59,7 +59,7 @@ public class HeartOfLight extends CardImpl {
this.color.setWhite(true);
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent(true);
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());

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