mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
updated all cards that use any target (with a few possible exceptions, it's hard to tell)
This commit is contained in:
parent
53e5ac86c9
commit
f072ba8d37
475 changed files with 638 additions and 643 deletions
|
@ -58,14 +58,14 @@ public class AcidicSliver extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// All Slivers have "{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player."
|
||||
// All Slivers have "{2}, Sacrifice this permanent: This permanent deals 2 damage to any target."
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new SacrificeSourceCost());
|
||||
ability.addCost(new GenericManaCost(2));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new GainAbilityAllEffect(ability,
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS,
|
||||
"All Slivers have \"{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.\"")));
|
||||
"All Slivers have \"{2}, Sacrifice this permanent: This permanent deals 2 damage to any target.\"")));
|
||||
}
|
||||
|
||||
public AcidicSliver(final AcidicSliver card) {
|
||||
|
|
|
@ -53,7 +53,7 @@ public class AcolytesReward extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{W}");
|
||||
|
||||
|
||||
// Prevent the next X damage that would be dealt to target creature this turn, where X is your devotion to white. If damage is prevented this way, Acolyte's Reward deals that much damage to target creature or player.
|
||||
// Prevent the next X damage that would be dealt to target creature this turn, where X is your devotion to white. If damage is prevented this way, Acolyte's Reward deals that much damage to any target.
|
||||
this.getSpellAbility().addEffect(new AcolytesRewardEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
@ -75,7 +75,7 @@ class AcolytesRewardEffect extends PreventionEffectImpl {
|
|||
|
||||
public AcolytesRewardEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
staticText = "Prevent the next X damage that would be dealt to target creature this turn, where X is your devotion to white. If damage is prevented this way, {this} deals that much damage to target creature or player";
|
||||
staticText = "Prevent the next X damage that would be dealt to target creature this turn, where X is your devotion to white. If damage is prevented this way, {this} deals that much damage to any target";
|
||||
}
|
||||
|
||||
public AcolytesRewardEffect(final AcolytesRewardEffect effect) {
|
||||
|
|
|
@ -54,7 +54,7 @@ public class AcornCatapult extends CardImpl {
|
|||
public AcornCatapult(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||
|
||||
// {1}, {tap}: Acorn Catapult deals 1 damage to target creature or player. That creature's controller or that player creates a 1/1 green Squirrel creature token.
|
||||
// {1}, {tap}: Acorn Catapult deals 1 damage to any target. That creature's controller or that player creates a 1/1 green Squirrel creature token.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{1}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addEffect(new AcornCatapultEffect());
|
||||
|
|
|
@ -49,7 +49,7 @@ public class Aeolipile extends CardImpl {
|
|||
public Aeolipile(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
|
||||
|
||||
// {1}, {tap}, Sacrifice Aeolipile: Aeolipile deals 2 damage to target creature or player.
|
||||
// {1}, {tap}, Sacrifice Aeolipile: Aeolipile deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{1}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
|
|
|
@ -56,7 +56,7 @@ public class AetherfluxReservoir extends CardImpl {
|
|||
// Whenever you cast a spell, you gain 1 life for each spell you've cast this turn.
|
||||
this.addAbility(new SpellCastControllerTriggeredAbility(new GainLifeEffect(new AetherfluxReservoirDynamicValue()), false));
|
||||
|
||||
// Pay 50 life: Aetherflux Reservoir deals 50 damage to target creature or player.
|
||||
// Pay 50 life: Aetherflux Reservoir deals 50 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(50), new PayLifeCost(50));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class AirdropCondor extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// {1}{R}, Sacrifice a Goblin creature: Airdrop Condor deals damage equal to the sacrificed creature's power to target creature or player.
|
||||
// {1}{R}, Sacrifice a Goblin creature: Airdrop Condor deals damage equal to the sacrificed creature's power to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new SacrificeCostCreaturesPower()), new ManaCostsImpl("{1}{R}"));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(filter)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -70,7 +70,7 @@ public class AjaniVengeant extends CardImpl {
|
|||
ability1.addTarget(new TargetPermanent());
|
||||
this.addAbility(ability1);
|
||||
|
||||
// −2: Ajani Vengeant deals 3 damage to target creature or player and you gain 3 life.
|
||||
// −2: Ajani Vengeant deals 3 damage to any target and you gain 3 life.
|
||||
Effects effects1 = new Effects();
|
||||
effects1.add(new DamageTargetEffect(3));
|
||||
effects1.add(new GainLifeEffect(3));
|
||||
|
|
|
@ -63,7 +63,7 @@ public class AkoumHellkite extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// <i>Landfall</i>-Whenever a land enters the battlefield under you control, Akoum Hellkite deals 1 damage to target creature or player.
|
||||
// <i>Landfall</i>-Whenever a land enters the battlefield under you control, Akoum Hellkite deals 1 damage to any target.
|
||||
// If that land is a Mountain, Akoum Hellkite deals 2 damage to that creature or player instead.
|
||||
Ability ability = new AkoumHellkiteTriggeredAbility();
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -48,7 +48,7 @@ public class AlabasterPotion extends CardImpl {
|
|||
public AlabasterPotion(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{W}{W}");
|
||||
|
||||
// Choose one - Target player gains X life; or prevent the next X damage that would be dealt to target creature or player this turn.
|
||||
// Choose one - Target player gains X life; or prevent the next X damage that would be dealt to any target this turn.
|
||||
this.getSpellAbility().addEffect(new GainLifeTargetEffect(new ManacostVariableValue()));
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
Mode mode = new Mode();
|
||||
|
|
|
@ -56,7 +56,7 @@ public class AlabasterWall extends CardImpl {
|
|||
|
||||
// Defender
|
||||
this.addAbility(DefenderAbility.getInstance());
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -48,7 +48,7 @@ public class AladdinsRing extends CardImpl {
|
|||
public AladdinsRing(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{8}");
|
||||
|
||||
// {8}, {tap}: Aladdin's Ring deals 4 damage to target creature or player.
|
||||
// {8}, {tap}: Aladdin's Ring deals 4 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(4), new ManaCostsImpl("{8}"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
ability.addCost(new TapSourceCost());
|
||||
|
|
|
@ -49,7 +49,7 @@ public class AmuletOfKroog extends CardImpl {
|
|||
public AmuletOfKroog(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
|
||||
|
||||
// {2}, {tap}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {2}, {tap}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new GenericManaCost(2));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -55,7 +55,7 @@ public class AnabaShaman extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {R}, {tap}: Anaba Shaman deals 1 damage to target creature or player.
|
||||
// {R}, {tap}: Anaba Shaman deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{R}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -57,7 +57,7 @@ public class AncientHydra extends CardImpl {
|
|||
|
||||
// Fading 5
|
||||
this.addAbility(new FadingAbility(5, this));
|
||||
// {1}, Remove a fade counter from Ancient Hydra: Ancient Hydra deals 1 damage to target creature or player.
|
||||
// {1}, Remove a fade counter from Ancient Hydra: Ancient Hydra deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{1}"));
|
||||
ability.addCost(new RemoveCountersSourceCost(CounterType.FADE.createInstance(1)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -48,7 +48,7 @@ public class AnnihilatingFire extends CardImpl {
|
|||
public AnnihilatingFire(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{R}{R}");
|
||||
|
||||
// Annihilating Fire deals 3 damage to target creature or player.
|
||||
// Annihilating Fire deals 3 damage to any target.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public class ApocalypseHydra extends CardImpl {
|
|||
// Apocalypse Hydra enters the battlefield with X +1/+1 counters on it. If X is 5 or more, it enters the battlefield with an additional X +1/+1 counters on it.
|
||||
this.addAbility(new EntersBattlefieldAbility(new ApocalypseHydraEffect()));
|
||||
|
||||
// {1}{R}, Remove a +1/+1 counter from Apocalypse Hydra: Apocalypse Hydra deals 1 damage to target creature or player.
|
||||
// {1}{R}, Remove a +1/+1 counter from Apocalypse Hydra: Apocalypse Hydra deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{1}{R}"));
|
||||
ability.addCost(new RemoveCountersSourceCost(CounterType.P1P1.createInstance()));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -54,7 +54,7 @@ public class ApprenticeSorcerer extends CardImpl {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// {tap}: Apprentice Sorcerer deals 1 damage to target creature or player. Activate this ability only during your turn, before attackers are declared.
|
||||
// {tap}: Apprentice Sorcerer deals 1 damage to any target. Activate this ability only during your turn, before attackers are declared.
|
||||
Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(1), new TapSourceCost(), MyTurnBeforeAttackersDeclaredCondition.instance);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -50,7 +50,7 @@ public class ArcBlade extends CardImpl {
|
|||
public ArcBlade(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{R}{R}");
|
||||
|
||||
// Arc Blade deals 2 damage to target creature or player.
|
||||
// Arc Blade deals 2 damage to any target.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(2));
|
||||
// Exile Arc Blade
|
||||
this.getSpellAbility().addEffect(ExileSpellEffect.getInstance());
|
||||
|
|
|
@ -54,7 +54,7 @@ public class ArcSlogger extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// {R}, Exile the top ten cards of your library: Arc-Slogger deals 2 damage to target creature or player.
|
||||
// {R}, Exile the top ten cards of your library: Arc-Slogger deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{R}"));
|
||||
ability.addCost(new ExileFromTopOfLibraryCost(10));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -53,7 +53,7 @@ public class ArcTrail extends CardImpl {
|
|||
public ArcTrail(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}");
|
||||
|
||||
// Arc Trail deals 2 damage to target creature or player and 1 damage to another target creature or player
|
||||
// Arc Trail deals 2 damage to any target and 1 damage to another any target
|
||||
FilterCreaturePlayerOrPlaneswalker filter1 = new FilterCreaturePlayerOrPlaneswalker("creature, player or planeswalker to deal 2 damage");
|
||||
TargetAnyTarget target1 = new TargetAnyTarget(1, 1, filter1);
|
||||
target1.setTargetTag(1);
|
||||
|
|
|
@ -72,14 +72,14 @@ public class ArlinnEmbracedByTheMoon extends CardImpl {
|
|||
ability.addEffect(effect);
|
||||
this.addAbility(ability);
|
||||
|
||||
// -1: Arlinn, Embraced by the Moon deals 3 damage to target creature or player. Transform Arlinn, Embraced by the Moon.
|
||||
// -1: Arlinn, Embraced by the Moon deals 3 damage to any target. Transform Arlinn, Embraced by the Moon.
|
||||
this.addAbility(new TransformAbility());
|
||||
ability = new LoyaltyAbility(new DamageTargetEffect(3), -1);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
ability.addEffect(new TransformSourceEffect(false));
|
||||
this.addAbility(ability);
|
||||
|
||||
// -6: You get an emblem with "Creatures you control have haste and '{T}: This creature deals damage equal to its power to target creature or player.'"
|
||||
// -6: You get an emblem with "Creatures you control have haste and '{T}: This creature deals damage equal to its power to any target.'"
|
||||
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new ArlinnEmbracedByTheMoonEmblem()), -6));
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ public class ArrowStorm extends CardImpl {
|
|||
public ArrowStorm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}{R}");
|
||||
|
||||
// Arrow Storm deals 4 damage to target creature or player.
|
||||
// Arrow Storm deals 4 damage to any target.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DamageTargetEffect(4),
|
||||
new InvertCondition(RaidCondition.instance),
|
||||
|
|
|
@ -44,9 +44,9 @@ public class AssaultBattery extends SplitCard {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}", "{3}{G}", SpellAbilityType.SPLIT);
|
||||
|
||||
// Assault
|
||||
// Assault deals 2 damage to target creature or player.
|
||||
// Assault deals 2 damage to any target.
|
||||
Effect effect = new DamageTargetEffect(2);
|
||||
effect.setText("Assault deals 2 damage to target creature or player");
|
||||
effect.setText("Assault deals 2 damage to any target");
|
||||
getLeftHalfCard().getSpellAbility().addEffect(effect);
|
||||
getLeftHalfCard().getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
||||
|
|
|
@ -57,9 +57,9 @@ public class AtarkaEfreet extends CardImpl {
|
|||
// Megamorph {2}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{R}"), true));
|
||||
|
||||
// When Atarka Efreet is turned face up, it deals 1 damage to target creature or player.
|
||||
// When Atarka Efreet is turned face up, it deals 1 damage to any target.
|
||||
Effect effect = new DamageTargetEffect(1, "it");
|
||||
effect.setText("it deals 1 damage to target creature or player");
|
||||
effect.setText("it deals 1 damage to any target");
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(effect, false, false);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -64,7 +64,7 @@ public class AuroraEidolon extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {W}, Sacrifice Aurora Eidolon: Prevent the next 3 damage that would be dealt to target creature or player this turn.
|
||||
// {W}, Sacrifice Aurora Eidolon: Prevent the next 3 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 3), new ManaCostsImpl("{W}"));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -58,7 +58,7 @@ public class AvenRedeemer extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// {tap}: Prevent the next 2 damage that would be dealt to target creature or player this turn.
|
||||
// {tap}: Prevent the next 2 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -52,7 +52,7 @@ public class BallistaCharger extends CardImpl {
|
|||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Whenever Ballista Charger attacks, it deals 1 damage to target creature or player.
|
||||
// Whenever Ballista Charger attacks, it deals 1 damage to any target.
|
||||
Ability ability = new AttacksTriggeredAbility(new DamageTargetEffect(1, "it"), false);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -57,7 +57,7 @@ public class BalmOfRestoration extends CardImpl {
|
|||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
|
||||
// or prevent the next 2 damage that would be dealt to target creature or player this turn.
|
||||
// or prevent the next 2 damage that would be dealt to any target this turn.
|
||||
Mode mode = new Mode();
|
||||
mode.getEffects().add(new PreventDamageToTargetEffect(Duration.EndOfTurn, 2));
|
||||
mode.getTargets().add(new TargetAnyTarget());
|
||||
|
|
|
@ -59,7 +59,7 @@ public class Banefire extends CardImpl {
|
|||
public Banefire(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{X}{R}");
|
||||
|
||||
// Banefire deals X damage to target creature or player.
|
||||
// Banefire deals X damage to any target.
|
||||
this.getSpellAbility().addEffect(new BaneFireEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
// If X is 5 or more, Banefire can't be countered by spells or abilities and the damage can't be prevented.
|
||||
|
@ -101,7 +101,7 @@ class BaneFireEffect extends OneShotEffect {
|
|||
|
||||
public BaneFireEffect() {
|
||||
super(Outcome.Damage);
|
||||
staticText = "{this} deals X damage to target creature or player";
|
||||
staticText = "{this} deals X damage to any target";
|
||||
}
|
||||
|
||||
public BaneFireEffect(final BaneFireEffect effect) {
|
||||
|
|
|
@ -57,8 +57,8 @@ public class Banshee extends CardImpl {
|
|||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// {X}, {T}: Banshee deals half X damage, rounded down, to target creature or player, and half X damage, rounded up, to you.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new HalfValue(new ManacostVariableValue(), false)).setText("Banshee deals half X damage, rounded down, to target creature or player,"), new ManaCostsImpl("{X}"));
|
||||
// {X}, {T}: Banshee deals half X damage, rounded down, to any target, and half X damage, rounded up, to you.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new HalfValue(new ManacostVariableValue(), false)).setText("Banshee deals half X damage, rounded down, to any target,"), new ManaCostsImpl("{X}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addEffect(new DamageControllerEffect(new HalfValue(new ManacostVariableValue(), true)).setText(" and half X damage, rounded up, to you"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -58,7 +58,7 @@ public class BarbarianRing extends CardImpl {
|
|||
redManaAbility.addEffect(new DamageControllerEffect(1));
|
||||
this.addAbility(redManaAbility);
|
||||
|
||||
// Threshold - {R}, {T}, Sacrifice Barbarian Ring: Barbarian Ring deals 2 damage to target creature or player. Activate this ability only if seven or more cards are in your graveyard.
|
||||
// Threshold - {R}, {T}, Sacrifice Barbarian Ring: Barbarian Ring deals 2 damage to any target. Activate this ability only if seven or more cards are in your graveyard.
|
||||
Ability thresholdAbility = new ConditionalActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(2),
|
||||
new ManaCostsImpl("{R}"),
|
||||
|
|
|
@ -60,11 +60,11 @@ public class BarbedField extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
// Enchanted land has "{tap}: This land deals 1 damage to target creature or player."
|
||||
// Enchanted land has "{tap}: This land deals 1 damage to any target."
|
||||
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
Effect effect = new GainAbilityAttachedEffect(ability, AttachmentType.AURA);
|
||||
effect.setText("Enchanted land has \"{T}: This land deals 1 damage to target creature or player.\"");
|
||||
effect.setText("Enchanted land has \"{T}: This land deals 1 damage to any target.\"");
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ public class BarrageOfExpendables extends CardImpl {
|
|||
public BarrageOfExpendables(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{R}");
|
||||
|
||||
// {R}, Sacrifice a creature: Barrage of Expendables deals 1 damage to target creature or player.
|
||||
// {R}, Sacrifice a creature: Barrage of Expendables deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{R}"));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -70,9 +70,9 @@ public class BarrageTyrant extends CardImpl {
|
|||
// Devoid
|
||||
this.addAbility(new DevoidAbility(this.color));
|
||||
|
||||
// {2}{R}, Sacrifice another colorless creature: Barrage Tyrant deals damage equal to the sacrificed creature's power to target creature or player.
|
||||
// {2}{R}, Sacrifice another colorless creature: Barrage Tyrant deals damage equal to the sacrificed creature's power to any target.
|
||||
Effect effect = new DamageTargetEffect(new SacrificeCostCreaturesPower());
|
||||
effect.setText("{this} deals damage equal to the sacrificed creature's power to target creature or player");
|
||||
effect.setText("{this} deals damage equal to the sacrificed creature's power to any target");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{2}{R}"));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(filter)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -58,7 +58,7 @@ public class BarrentonMedic extends CardImpl {
|
|||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -43,7 +43,7 @@ public class BeeSting extends CardImpl {
|
|||
public BeeSting(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{G}");
|
||||
|
||||
// Bee Sting deals 2 damage to target creature or player.
|
||||
// Bee Sting deals 2 damage to any target.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(2));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class BenevolentAncestor extends CardImpl {
|
|||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(4);
|
||||
this.addAbility(DefenderAbility.getInstance());
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -50,7 +50,7 @@ public class BlastOfGenius extends CardImpl {
|
|||
public BlastOfGenius(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}{R}");
|
||||
|
||||
// Choose target creature or player. Draw three cards and discard a card. Blast of Genius deals damage equal to the converted mana cost of the discard card to that creature or player.
|
||||
// Choose any target. Draw three cards and discard a card. Blast of Genius deals damage equal to the converted mana cost of the discard card to that creature or player.
|
||||
this.getSpellAbility().addEffect(new BlastOfGeniusEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class BlastingStation extends CardImpl {
|
|||
public BlastingStation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||
|
||||
// {tap}, Sacrifice a creature: Blasting Station deals 1 damage to target creature or player.
|
||||
// {tap}, Sacrifice a creature: Blasting Station deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -45,7 +45,7 @@ public class Blaze extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{X}{R}");
|
||||
|
||||
|
||||
// Blaze deals X damage to target creature or player.
|
||||
// Blaze deals X damage to any target.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(new ManacostVariableValue()));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class BlazingHellhound extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// {1}, Sacrifice another creature: Blazing Hellhound deals 1 damage to target creature or player.
|
||||
// {1}, Sacrifice another creature: Blazing Hellhound deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{1}"));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -73,7 +73,7 @@ public class BlazingTorch extends CardImpl {
|
|||
new CantBeBlockedByCreaturesAttachedEffect(Duration.WhileOnBattlefield, filter, AttachmentType.EQUIPMENT)));
|
||||
|
||||
|
||||
// Equipped creature has "{tap}, Sacrifice Blazing Torch: Blazing Torch deals 2 damage to target creature or player.")
|
||||
// Equipped creature has "{tap}, Sacrifice Blazing Torch: Blazing Torch deals 2 damage to any target.")
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BlazingTorchDamageEffect(), new TapSourceCost());
|
||||
ability.addCost(new BlazingTorchCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
@ -135,7 +135,7 @@ class BlazingTorchDamageEffect extends OneShotEffect {
|
|||
|
||||
public BlazingTorchDamageEffect() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "Blazing Torch deals 2 damage to target creature or player";
|
||||
this.staticText = "Blazing Torch deals 2 damage to any target";
|
||||
}
|
||||
|
||||
public BlazingTorchDamageEffect(final BlazingTorchDamageEffect effect) {
|
||||
|
|
|
@ -53,7 +53,7 @@ public class BlightedGorge extends CardImpl {
|
|||
// {T}: Add {C}.
|
||||
this.addAbility(new ColorlessManaAbility());
|
||||
|
||||
// {4}{R}, {T}, Sacrifice Blighted Gorge: Blighted Gorge deals 2 damage to target creature or player.
|
||||
// {4}{R}, {T}, Sacrifice Blighted Gorge: Blighted Gorge deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(2),
|
||||
new ManaCostsImpl<>("{4}{R}"));
|
||||
|
|
|
@ -54,13 +54,13 @@ public class BloodhallPriest extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Whenever Bloodhall Priest enters the battlefield or attacks, if you have no cards in hand, Bloodhall Priest deals 2 damage to target creature or player.
|
||||
// Whenever Bloodhall Priest enters the battlefield or attacks, if you have no cards in hand, Bloodhall Priest deals 2 damage to any target.
|
||||
TriggeredAbility triggeredAbility = new EntersBattlefieldOrAttacksSourceTriggeredAbility(new DamageTargetEffect(2));
|
||||
triggeredAbility.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(new ConditionalTriggeredAbility(
|
||||
triggeredAbility,
|
||||
HellbentCondition.instance,
|
||||
"Whenever {this} enters the battlefield or attacks, if you have no cards in hand, {this} deals 2 damage to target creature or player"
|
||||
"Whenever {this} enters the battlefield or attacks, if you have no cards in hand, {this} deals 2 damage to any target"
|
||||
));
|
||||
|
||||
// Madness {1}{B}{R}
|
||||
|
|
|
@ -57,7 +57,7 @@ public class BloodshotCyclops extends CardImpl {
|
|||
this.toughness = new MageInt(4);
|
||||
|
||||
// {T}, Sacrifice a creature: Bloodshot Cyclops deals damage equal to the sacrificed
|
||||
// creature's power to target creature or player.
|
||||
// creature's power to any target.
|
||||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(new SacrificeCostCreaturesPower()),
|
||||
new TapSourceCost());
|
||||
|
|
|
@ -51,7 +51,7 @@ public class BomberCorps extends CardImpl {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Battalion - Whenever Bomber Corps and at least two other creatures attack, Bomber Corps deals 1 damage to target creature or player.
|
||||
// Battalion - Whenever Bomber Corps and at least two other creatures attack, Bomber Corps deals 1 damage to any target.
|
||||
Ability ability = new BattalionAbility(new DamageTargetEffect(1));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -52,7 +52,7 @@ public class BonethornValesk extends CardImpl {
|
|||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever a permanent is turned face up, Bonethorn Valesk deals 1 damage to target creature or player.
|
||||
// Whenever a permanent is turned face up, Bonethorn Valesk deals 1 damage to any target.
|
||||
Ability ability = new TurnedFaceUpAllTriggeredAbility(new DamageTargetEffect(1), new FilterPermanent("a permanent"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class BorborygmosEnraged extends CardImpl {
|
|||
//Whenever Borborygmous Enraged deals combat damage to a player, reveal the top three cards of your library. Put all land cards revealed this way into your hand and the rest into your graveyard.
|
||||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new RevealLibraryPutIntoHandEffect(3, new FilterLandCard(), Zone.GRAVEYARD), false, false));
|
||||
|
||||
//Discard a land card: Borborygmos Enraged deals 3 damage to target creature or player
|
||||
//Discard a land card: Borborygmos Enraged deals 3 damage to any target
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(3), new DiscardTargetCost(new TargetCardInHand(new FilterLandCard())));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -57,7 +57,7 @@ public class BorosReckoner extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Whenever Boros Reckoner is dealt damage, it deals that much damage to target creature or player.
|
||||
// Whenever Boros Reckoner is dealt damage, it deals that much damage to any target.
|
||||
Ability ability = new DealtDamageToSourceTriggeredAbility(Zone.BATTLEFIELD, new BorosReckonerDealDamageEffect(), false, false, true);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
@ -81,7 +81,7 @@ class BorosReckonerDealDamageEffect extends OneShotEffect {
|
|||
|
||||
public BorosReckonerDealDamageEffect() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "it deals that much damage to target creature or player";
|
||||
this.staticText = "it deals that much damage to any target";
|
||||
}
|
||||
|
||||
public BorosReckonerDealDamageEffect(final BorosReckonerDealDamageEffect effect) {
|
||||
|
|
|
@ -64,9 +64,9 @@ public class BoshIronGolem extends CardImpl {
|
|||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// {3}{R}, Sacrifice an artifact: Bosh, Iron Golem deals damage equal to the sacrificed artifact's converted mana cost to target creature or player.
|
||||
// {3}{R}, Sacrifice an artifact: Bosh, Iron Golem deals damage equal to the sacrificed artifact's converted mana cost to any target.
|
||||
Effect effect = new DamageTargetEffect(new SacrificeCostConvertedMana("artifact"));
|
||||
effect.setText("{this} deals damage equal to the sacrificed artifact's converted mana cost to target creature or player");
|
||||
effect.setText("{this} deals damage equal to the sacrificed artifact's converted mana cost to any target");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{3}{R}"));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledArtifactPermanent("an artifact"))));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -49,7 +49,7 @@ public class BrimstoneVolley extends CardImpl {
|
|||
public BrimstoneVolley(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
|
||||
|
||||
// Brimstone Volley deals 3 damage to target creature or player.
|
||||
// Brimstone Volley deals 3 damage to any target.
|
||||
// Morbid - Brimstone Volley deals 5 damage to that creature or player instead if a creature died this turn.
|
||||
this.getSpellAbility().addEffect(new BrimstoneVolleyEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -54,7 +54,7 @@ public class BrothersOfFire extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {1}{R}{R}: Brothers of Fire deals 1 damage to target creature or player and 1 damage to you.
|
||||
// {1}{R}{R}: Brothers of Fire deals 1 damage to any target and 1 damage to you.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{1}{R}{R}"));
|
||||
Effect effect = new DamageControllerEffect(1);
|
||||
effect.setText("and 1 damage to you");
|
||||
|
|
|
@ -62,7 +62,7 @@ public class BurnAtTheStake extends CardImpl {
|
|||
|
||||
// As an additional cost to cast Burn at the Stake, tap any number of untapped creatures you control.
|
||||
this.getSpellAbility().addCost(new TapVariableTargetCost(filter, true, "any number of"));
|
||||
// Burn at the Stake deals damage to target creature or player equal to three times the number of creatures tapped this way.
|
||||
// Burn at the Stake deals damage to any target equal to three times the number of creatures tapped this way.
|
||||
this.getSpellAbility().addEffect(new BurnAtTheStakeEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ class BurnAtTheStakeEffect extends OneShotEffect {
|
|||
|
||||
public BurnAtTheStakeEffect() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "{this} deals damage to target creature or player equal to three times the number of creatures tapped this way";
|
||||
this.staticText = "{this} deals damage to any target equal to three times the number of creatures tapped this way";
|
||||
}
|
||||
|
||||
public BurnAtTheStakeEffect(final BurnAtTheStakeEffect effect) {
|
||||
|
|
|
@ -55,7 +55,7 @@ public class BurnFromWithin extends CardImpl {
|
|||
public BurnFromWithin(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{R}");
|
||||
|
||||
// Burn from Within deals X damage to target creature or player. If a creature is dealt damage this way, it loses indestructible until end of turn.
|
||||
// Burn from Within deals X damage to any target. If a creature is dealt damage this way, it loses indestructible until end of turn.
|
||||
// If that creature would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new BurnFromWithinEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
@ -76,7 +76,7 @@ class BurnFromWithinEffect extends OneShotEffect {
|
|||
|
||||
public BurnFromWithinEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "{this} deals X damage to target creature or player. If a creature is dealt damage this way, it loses indestructible until end of turn. If that creature would die this turn, exile it instead";
|
||||
this.staticText = "{this} deals X damage to any target. If a creature is dealt damage this way, it loses indestructible until end of turn. If that creature would die this turn, exile it instead";
|
||||
}
|
||||
|
||||
public BurnFromWithinEffect(final BurnFromWithinEffect effect) {
|
||||
|
|
|
@ -44,7 +44,7 @@ public class BurnTrail extends CardImpl {
|
|||
public BurnTrail(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{R}");
|
||||
|
||||
// Burn Trail deals 3 damage to target creature or player.
|
||||
// Burn Trail deals 3 damage to any target.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
||||
|
|
|
@ -63,13 +63,13 @@ public class BurningAnger extends CardImpl {
|
|||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
|
||||
// Enchanted creature has "{T}: This creature deals damage equal to its power to target creature or player."
|
||||
// Enchanted creature has "{T}: This creature deals damage equal to its power to any target."
|
||||
Effect effect = new DamageTargetEffect(new SourcePermanentPowerCount());
|
||||
effect.setText("{this} deals damage equal to its power to target creature or player");
|
||||
effect.setText("{this} deals damage equal to its power to any target");
|
||||
Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost());
|
||||
gainedAbility.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA, Duration.WhileOnBattlefield,
|
||||
"Enchanted creature has \"{T}: This creature deals damage equal to its power to target creature or player.\"")));
|
||||
"Enchanted creature has \"{T}: This creature deals damage equal to its power to any target.\"")));
|
||||
}
|
||||
|
||||
public BurningAnger(final BurningAnger card) {
|
||||
|
|
|
@ -56,9 +56,9 @@ public class BurningEyeZubera extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// When Burning-Eye Zubera dies, if 4 or more damage was dealt to it this turn, Burning-Eye Zubera deals 3 damage to target creature or player.
|
||||
// When Burning-Eye Zubera dies, if 4 or more damage was dealt to it this turn, Burning-Eye Zubera deals 3 damage to any target.
|
||||
Ability ability = new ConditionalTriggeredAbility(new DiesTriggeredAbility(new DamageTargetEffect(3)),new SourceGotFourDamage(),
|
||||
"When {this} dies, if 4 or more damage was dealt to it this turn, Burning-Eye Zubera deals 3 damage to target creature or player");
|
||||
"When {this} dies, if 4 or more damage was dealt to it this turn, Burning-Eye Zubera deals 3 damage to any target");
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ public class BurningVengeance extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{R}");
|
||||
|
||||
|
||||
// Whenever you cast a spell from your graveyard, Burning Vengeance deals 2 damage to target creature or player.
|
||||
// Whenever you cast a spell from your graveyard, Burning Vengeance deals 2 damage to any target.
|
||||
this.addAbility(new BurningVengeanceOnCastAbility());
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ public class BurningVengeance extends CardImpl {
|
|||
|
||||
class BurningVengeanceOnCastAbility extends TriggeredAbilityImpl {
|
||||
|
||||
private static final String abilityText = "Whenever you cast a spell from your graveyard, Burning Vengeance deals 2 damage to target creature or player";
|
||||
private static final String abilityText = "Whenever you cast a spell from your graveyard, Burning Vengeance deals 2 damage to any target";
|
||||
|
||||
BurningVengeanceOnCastAbility() {
|
||||
super(Zone.BATTLEFIELD, new DamageTargetEffect(2), false);
|
||||
|
|
|
@ -49,7 +49,7 @@ public class BurstLightning extends CardImpl {
|
|||
// Kicker {4} (You may pay an additional {4} as you cast this spell.)
|
||||
this.addAbility(new KickerAbility("{4}"));
|
||||
|
||||
// Burst Lightning deals 2 damage to target creature or player. If Burst Lightning was kicked, it deals 4 damage to that creature or player instead.
|
||||
// Burst Lightning deals 2 damage to any target. If Burst Lightning was kicked, it deals 4 damage to that creature or player instead.
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new DamageTargetEffect(4),
|
||||
new DamageTargetEffect(2), KickedCondition.instance, "{this} deals 2 damage to any target. If {this} was kicked, it deals 4 damage to that permanent or player instead"));
|
||||
|
|
|
@ -46,7 +46,7 @@ public class CacklingFlames extends CardImpl {
|
|||
public CacklingFlames(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||
|
||||
// Cackling Flames deals 3 damage to target creature or player.
|
||||
// Cackling Flames deals 3 damage to any target.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DamageTargetEffect(3),
|
||||
new InvertCondition(HellbentCondition.instance),
|
||||
|
|
|
@ -53,7 +53,7 @@ public class CandlesGlow extends CardImpl {
|
|||
this.subtype.add(SubType.ARCANE);
|
||||
|
||||
|
||||
// Prevent the next 3 damage that would be dealt to target creature or player this turn. You gain life equal to the damage prevented this way.
|
||||
// Prevent the next 3 damage that would be dealt to any target this turn. You gain life equal to the damage prevented this way.
|
||||
this.getSpellAbility().addEffect(new CandlesGlowPreventDamageTargetEffect(Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
// Splice onto Arcane {1}{W}
|
||||
|
@ -76,7 +76,7 @@ class CandlesGlowPreventDamageTargetEffect extends PreventionEffectImpl {
|
|||
|
||||
public CandlesGlowPreventDamageTargetEffect(Duration duration) {
|
||||
super(duration);
|
||||
staticText = "Prevent the next 3 damage that would be dealt to target creature or player this turn. You gain life equal to the damage prevented this way";
|
||||
staticText = "Prevent the next 3 damage that would be dealt to any target this turn. You gain life equal to the damage prevented this way";
|
||||
}
|
||||
|
||||
public CandlesGlowPreventDamageTargetEffect(final CandlesGlowPreventDamageTargetEffect effect) {
|
||||
|
|
|
@ -54,7 +54,7 @@ public class CapriciousSorcerer extends CardImpl {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// {tap}: Capricious Sorcerer deals 1 damage to target creature or player. Activate this ability only during your turn, before attackers are declared.
|
||||
// {tap}: Capricious Sorcerer deals 1 damage to any target. Activate this ability only during your turn, before attackers are declared.
|
||||
Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(1), new TapSourceCost(), MyTurnBeforeAttackersDeclaredCondition.instance);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -47,7 +47,7 @@ public class Carbonize extends CardImpl {
|
|||
public Carbonize(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
|
||||
|
||||
// Carbonize deals 3 damage to target creature or player. That creature can't be regenerated this turn. If the creature would die this turn, exile it instead.
|
||||
// Carbonize deals 3 damage to any target. That creature can't be regenerated this turn. If the creature would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addEffect(new CantRegenerateTargetEffect(Duration.EndOfTurn, "That creature"));
|
||||
this.getSpellAbility().addEffect(new ExileTargetIfDiesEffect().setText("If the creature would die this turn, exile it instead"));
|
||||
|
|
|
@ -59,7 +59,7 @@ public class Caregiver extends CardImpl {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// {W}, Sacrifice a creature: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {W}, Sacrifice a creature: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new ColoredManaCost(ColoredManaSymbol.W));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -62,13 +62,13 @@ public class CauterySliver extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// All Slivers have "{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player."
|
||||
// All Slivers have "{1}, Sacrifice this permanent: This permanent deals 1 damage to any target."
|
||||
Ability ability1 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("1"));
|
||||
ability1.addCost(new SacrificeSourceCost());
|
||||
ability1.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new GainAbilityAllEffect(ability1, Duration.WhileOnBattlefield, filter,
|
||||
"All Slivers have \"{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.\"")));
|
||||
"All Slivers have \"{1}, Sacrifice this permanent: This permanent deals 1 damage to any target.\"")));
|
||||
// All Slivers have "{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn."
|
||||
Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new ManaCostsImpl("1"));
|
||||
ability2.addCost(new SacrificeSourceCost());
|
||||
|
|
|
@ -51,7 +51,7 @@ public class ChainLightning extends CardImpl {
|
|||
public ChainLightning(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{R}");
|
||||
|
||||
// Chain Lightning deals 3 damage to target creature or player. Then that player or that creature's controller may pay {R}{R}. If the player does, he or she may copy this spell and may choose a new target for that copy.
|
||||
// Chain Lightning deals 3 damage to any target. Then that player or that creature's controller may pay {R}{R}. If the player does, he or she may copy this spell and may choose a new target for that copy.
|
||||
this.getSpellAbility().addEffect(new ChainLightningEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ class ChainLightningEffect extends OneShotEffect {
|
|||
|
||||
ChainLightningEffect() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "Chain Lightning deals 3 damage to target creature or player. Then that player or that creature's controller may pay {R}{R}. If the player does, he or she may copy this spell and may choose a new target for that copy.";
|
||||
this.staticText = "Chain Lightning deals 3 damage to any target. Then that player or that creature's controller may pay {R}{R}. If the player does, he or she may copy this spell and may choose a new target for that copy.";
|
||||
}
|
||||
|
||||
ChainLightningEffect(final ChainLightningEffect effect) {
|
||||
|
|
|
@ -51,7 +51,7 @@ public class ChainOfPlasma extends CardImpl {
|
|||
public ChainOfPlasma(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
|
||||
// Chain of Plasma deals 3 damage to target creature or player. Then that player or that creature's controller may discard a card. If the player does, he or she may copy this spell and may choose a new target for that copy.
|
||||
// Chain of Plasma deals 3 damage to any target. Then that player or that creature's controller may discard a card. If the player does, he or she may copy this spell and may choose a new target for that copy.
|
||||
this.getSpellAbility().addEffect(new ChainOfPlasmaEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ class ChainOfPlasmaEffect extends OneShotEffect {
|
|||
|
||||
ChainOfPlasmaEffect() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "{this} deals 3 damage to target creature or player. Then that player or that creature's controller may discard a card. If the player does, he or she may copy this spell and may choose a new target for that copy.";
|
||||
this.staticText = "{this} deals 3 damage to any target. Then that player or that creature's controller may discard a card. If the player does, he or she may copy this spell and may choose a new target for that copy.";
|
||||
}
|
||||
|
||||
ChainOfPlasmaEffect(final ChainOfPlasmaEffect effect) {
|
||||
|
|
|
@ -57,12 +57,12 @@ public class Chainflinger extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {1}{R}, {tap}: Chainflinger deals 1 damage to target creature or player.
|
||||
// {1}{R}, {tap}: Chainflinger deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1),new ManaCostsImpl("{1}{R}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
// Threshold - {2}{R}, {tap}: Chainflinger deals 2 damage to target creature or player. Activate this ability only if seven or more cards are in your graveyard.
|
||||
// Threshold - {2}{R}, {tap}: Chainflinger deals 2 damage to any target. Activate this ability only if seven or more cards are in your graveyard.
|
||||
Ability thresholdAbility = new ConditionalActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(2),
|
||||
new ManaCostsImpl("{2}{R}"),
|
||||
|
|
|
@ -68,7 +68,7 @@ public class ChandraAblaze extends CardImpl {
|
|||
|
||||
this.addAbility(new PlanswalkerEntersWithLoyalityCountersAbility(5));
|
||||
|
||||
// +1: Discard a card. If a red card is discarded this way, Chandra Ablaze deals 4 damage to target creature or player.
|
||||
// +1: Discard a card. If a red card is discarded this way, Chandra Ablaze deals 4 damage to any target.
|
||||
LoyaltyAbility ability = new LoyaltyAbility(new ChandraAblazeEffect1(), 1);
|
||||
ability.addEffect(new ChandraAblazeEffect2());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
@ -132,7 +132,7 @@ class ChandraAblazeEffect2 extends OneShotEffect {
|
|||
|
||||
public ChandraAblazeEffect2() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "If a red card is discarded this way, {this} deals 4 damage to target creature or player";
|
||||
this.staticText = "If a red card is discarded this way, {this} deals 4 damage to any target";
|
||||
}
|
||||
|
||||
public ChandraAblazeEffect2(final ChandraAblazeEffect2 effect) {
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ChandraTheFirebrand extends CardImpl {
|
|||
|
||||
this.addAbility(new PlanswalkerEntersWithLoyalityCountersAbility(3));
|
||||
|
||||
// +1: Chandra, the Firebrand deals 1 damage to target creature or player.
|
||||
// +1: Chandra, the Firebrand deals 1 damage to any target.
|
||||
LoyaltyAbility ability1 = new LoyaltyAbility(new DamageTargetEffect(1), 1);
|
||||
ability1.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability1);
|
||||
|
|
|
@ -78,7 +78,7 @@ public class ChandraTorchOfDefiance extends CardImpl {
|
|||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
|
||||
// -7: You get an emblem with "Whenever you cast a spell, this emblem deals 5 damage to target creature or player."
|
||||
// -7: You get an emblem with "Whenever you cast a spell, this emblem deals 5 damage to any target."
|
||||
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new ChandraTorchOfDefianceEmblem()), -7));
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public class Char extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{2}{R}");
|
||||
|
||||
|
||||
// Char deals 4 damage to target creature or player and 2 damage to you.
|
||||
// Char deals 4 damage to any target and 2 damage to you.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(4));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
Effect effect = new DamageControllerEffect(2);
|
||||
|
|
|
@ -56,7 +56,7 @@ public class CinderElemental extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {X}{R}, {tap}, Sacrifice Cinder Elemental: Cinder Elemental deals X damage to target creature or player.
|
||||
// {X}{R}, {tap}, Sacrifice Cinder Elemental: Cinder Elemental deals X damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new ManacostVariableValue()), new ManaCostsImpl("{X}{R}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
|
|
|
@ -43,7 +43,7 @@ public class CinderStorm extends CardImpl {
|
|||
public CinderStorm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{6}{R}");
|
||||
|
||||
// Cinder Storm deals 7 damage to target creature or player.
|
||||
// Cinder Storm deals 7 damage to any target.
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(7));
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ public class ClockworkHydra extends CardImpl {
|
|||
|
||||
// Clockwork Hydra enters the battlefield with four +1/+1 counters on it.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(4)), "with four +1/+1 counters on it"));
|
||||
// Whenever Clockwork Hydra attacks or blocks, remove a +1/+1 counter from it. If you do, Clockwork Hydra deals 1 damage to target creature or player.
|
||||
// Whenever Clockwork Hydra attacks or blocks, remove a +1/+1 counter from it. If you do, Clockwork Hydra deals 1 damage to any target.
|
||||
this.addAbility(new AttacksOrBlocksTriggeredAbility(new ClockworkHydraEffect(), false));
|
||||
|
||||
// {tap}: Put a +1/+1 counter on Clockwork Hydra.
|
||||
|
@ -88,7 +88,7 @@ class ClockworkHydraEffect extends OneShotEffect {
|
|||
|
||||
public ClockworkHydraEffect() {
|
||||
super(Outcome.Damage);
|
||||
this.staticText = "remove a +1/+1 counter from it. If you do, {this} deals 1 damage to target creature or player";
|
||||
this.staticText = "remove a +1/+1 counter from it. If you do, {this} deals 1 damage to any target";
|
||||
}
|
||||
|
||||
public ClockworkHydraEffect(final ClockworkHydraEffect effect) {
|
||||
|
|
|
@ -54,7 +54,7 @@ public class CloseQuarters extends CardImpl {
|
|||
public CloseQuarters(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{R}{R}");
|
||||
|
||||
// Whenever a creature you control becomes blocked, Close Quarters deals 1 damage to target creature or player.
|
||||
// Whenever a creature you control becomes blocked, Close Quarters deals 1 damage to any target.
|
||||
Ability ability = new BecomesBlockedAllTriggeredAbility(new DamageTargetEffect(1), false, filter, false);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -49,7 +49,7 @@ public class CollateralDamage extends CardImpl {
|
|||
// As an additional cost to cast Collateral Damge, sacrifice a creature.
|
||||
this.getSpellAbility().addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)));
|
||||
|
||||
// Collateral Damage deals 3 damage to target creature or player.
|
||||
// Collateral Damage deals 3 damage to any target.
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class CombatMedic extends CardImpl {
|
|||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {1}{W}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {1}{W}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new ManaCostsImpl("{1}{W}"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -49,12 +49,12 @@ import mage.target.common.TargetAnyTarget;
|
|||
public class CometStorm extends CardImpl {
|
||||
|
||||
public CometStorm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{X}{R}{R}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{R}{R}");
|
||||
|
||||
// Multikicker {1}
|
||||
this.addAbility(new MultikickerAbility("{1}"));
|
||||
|
||||
// Choose target creature or player, then choose another target creature or player for each time Comet Storm was kicked. Comet Storm deals X damage to each of them.
|
||||
// Choose any target, then choose another any target for each time Comet Storm was kicked. Comet Storm deals X damage to each of them.
|
||||
this.getSpellAbility().addEffect(new CometStormEffect());
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget(1));
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ class CometStormEffect extends OneShotEffect {
|
|||
|
||||
public CometStormEffect() {
|
||||
super(Outcome.Damage);
|
||||
staticText = "Choose target creature or player, then choose another target creature or player for each time Comet Storm was kicked. Comet Storm deals X damage to each of them";
|
||||
staticText = "Choose any target, then choose another target for each time Comet Storm was kicked. Comet Storm deals X damage to each of them";
|
||||
}
|
||||
|
||||
public CometStormEffect(final CometStormEffect effect) {
|
||||
|
|
|
@ -51,7 +51,7 @@ public class ConeOfFlame extends CardImpl {
|
|||
public ConeOfFlame(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}{R}");
|
||||
|
||||
// Cone of Flame deals 1 damage to target creature or player, 2 damage to another target creature or player, and 3 damage to a third target creature or player.
|
||||
// Cone of Flame deals 1 damage to any target, 2 damage to another any target, and 3 damage to a third any target.
|
||||
FilterCreaturePlayerOrPlaneswalker filter1 = new FilterCreaturePlayerOrPlaneswalker("creature, player or planeswalker to deal 1 damage");
|
||||
TargetAnyTarget target1 = new TargetAnyTarget(1, 1, filter1);
|
||||
target1.setTargetTag(1);
|
||||
|
|
|
@ -60,7 +60,7 @@ public class ConsumeSpirit extends CardImpl {
|
|||
|
||||
|
||||
// Spend only black mana on X.
|
||||
// Consume Spirit deals X damage to target creature or player and you gain X life.
|
||||
// Consume Spirit deals X damage to any target and you gain X life.
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new ConsumeSpiritEffect());
|
||||
VariableCost variableCost = this.getSpellAbility().getManaCostsToPay().getVariableCosts().get(0);
|
||||
|
@ -83,7 +83,7 @@ class ConsumeSpiritEffect extends OneShotEffect {
|
|||
|
||||
public ConsumeSpiritEffect() {
|
||||
super(Outcome.Damage);
|
||||
staticText = "Consume Spirit deals X damage to target creature or player and you gain X life. Spend only black mana on X";
|
||||
staticText = "Consume Spirit deals X damage to any target and you gain X life. Spend only black mana on X";
|
||||
}
|
||||
|
||||
public ConsumeSpiritEffect(final ConsumeSpiritEffect effect) {
|
||||
|
|
|
@ -54,7 +54,7 @@ public class Corrupt extends CardImpl {
|
|||
public Corrupt(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{5}{B}");
|
||||
|
||||
// Corrupt deals damage to target creature or player equal to the number of Swamps you control. You gain life equal to the damage dealt this way.
|
||||
// Corrupt deals damage to any target equal to the number of Swamps you control. You gain life equal to the damage dealt this way.
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new CorruptEffect());
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ class CorruptEffect extends OneShotEffect {
|
|||
|
||||
public CorruptEffect() {
|
||||
super(Outcome.Damage);
|
||||
staticText = "{this} deals damage to target creature or player equal to the number of Swamps you control. You gain life equal to the damage dealt this way";
|
||||
staticText = "{this} deals damage to any target equal to the number of Swamps you control. You gain life equal to the damage dealt this way";
|
||||
}
|
||||
|
||||
public CorruptEffect(final CorruptEffect effect) {
|
||||
|
|
|
@ -50,9 +50,9 @@ public class CovenantOfBlood extends CardImpl {
|
|||
// Convoke
|
||||
this.addAbility(new ConvokeAbility());
|
||||
|
||||
// Covenant of Blood deals 4 damage to target creature or player
|
||||
// Covenant of Blood deals 4 damage to any target
|
||||
Effect effect = new DamageTargetEffect(4);
|
||||
effect.setText("{this} deals 4 damage to target creature or player");
|
||||
effect.setText("{this} deals 4 damage to any target");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
// and you gain 4 life.
|
||||
effect = new GainLifeEffect(4);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class Crackleburr extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {UR}{UR}, {tap}, Tap two untapped red creatures you control: Crackleburr deals 3 damage to target creature or player.
|
||||
// {UR}{UR}, {tap}, Tap two untapped red creatures you control: Crackleburr deals 3 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(3), new ManaCostsImpl("{U/R}{U/R}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, true)));
|
||||
|
|
|
@ -55,7 +55,7 @@ public class CracklingTriton extends CardImpl {
|
|||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// {2}{R}, Sacrifice Crackling Triton: Crackling Triton deals 2 damage to target creature or player.
|
||||
// {2}{R}, Sacrifice Crackling Triton: Crackling Triton deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{2}{R}"));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -47,7 +47,7 @@ public class CratersClaws extends CardImpl {
|
|||
public CratersClaws(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{R}");
|
||||
|
||||
// Crater's Claws deals X damage to target creature or player.
|
||||
// Crater's Claws deals X damage to any target.
|
||||
// <i>Ferocious</i> - Crater's Claws deals X plus 2 damage to that creature or player instead if you control a creature with power 4 or greater.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DamageTargetEffect(new IntPlusDynamicValue(2, new ManacostVariableValue())),
|
||||
|
|
|
@ -63,9 +63,9 @@ public class CuombajjWitches extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
//TODO: Make ability properly copiable
|
||||
// {T}: Cuombajj Witches deals 1 damage to target creature or player and 1 damage to target creature or player of an opponent's choice.
|
||||
// {T}: Cuombajj Witches deals 1 damage to any target and 1 damage to any target of an opponent's choice.
|
||||
Effect effect = new DamageTargetEffect(1);
|
||||
effect.setText("{this} deals 1 damage to target creature or player and 1 damage to target creature or player of an opponent's choice");
|
||||
effect.setText("{this} deals 1 damage to any target and 1 damage to any target of an opponent's choice");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -54,7 +54,7 @@ public class CursedScroll extends CardImpl {
|
|||
public CursedScroll(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
|
||||
|
||||
// {3}, {T}: Name a card. Reveal a card at random from your hand. If it's the named card, Cursed Scroll deals 2 damage to target creature or player.
|
||||
// {3}, {T}: Name a card. Reveal a card at random from your hand. If it's the named card, Cursed Scroll deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new NameACardEffect(NameACardEffect.TypeOfName.ALL), new ManaCostsImpl("{3}"));
|
||||
ability.addEffect(new CursedScrollEffect());
|
||||
ability.addCost(new TapSourceCost());
|
||||
|
@ -76,7 +76,7 @@ class CursedScrollEffect extends OneShotEffect {
|
|||
|
||||
public CursedScrollEffect() {
|
||||
super(Outcome.Neutral);
|
||||
staticText = "Reveal a card at random from your hand. If it's the named card, {this} deals 2 damage to target creature or player";
|
||||
staticText = "Reveal a card at random from your hand. If it's the named card, {this} deals 2 damage to any target";
|
||||
}
|
||||
|
||||
public CursedScrollEffect(final CursedScrollEffect effect) {
|
||||
|
|
|
@ -61,7 +61,7 @@ public class DAvenantHealer extends CardImpl {
|
|||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
|
||||
ability.addTarget(new TargetAttackingOrBlockingCreature());
|
||||
this.addAbility(ability);
|
||||
// {T}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {T}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
|
||||
ability.addTarget(new TargetCreatureOrPlayer());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -42,11 +42,11 @@ import mage.game.permanent.token.DevilToken;
|
|||
public class DanceWithDevils extends CardImpl {
|
||||
|
||||
public DanceWithDevils(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{R}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||
|
||||
// Create two 1/1 red Devil creature tokens. They have "When this creature dies, it deals 1 damage to target creature or player."
|
||||
// Create two 1/1 red Devil creature tokens. They have "When this creature dies, it deals 1 damage to any target."
|
||||
Effect effect = new CreateTokenEffect(new DevilToken(), 2);
|
||||
effect.setText("Create two 1/1 red Devil creature tokens. They have \"When this creature dies, it deals 1 damage to target creature or player.\"");
|
||||
effect.setText("Create two 1/1 red Devil creature tokens. They have \"When this creature dies, it deals 1 damage to any target.\"");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class DarigaazsCharm extends CardImpl {
|
|||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard()));
|
||||
|
||||
// or Darigaaz's Charm deals 3 damage to target creature or player;
|
||||
// or Darigaaz's Charm deals 3 damage to any target;
|
||||
Mode mode = new Mode();
|
||||
mode.getEffects().add(new DamageTargetEffect(3));
|
||||
mode.getTargets().add(new TargetAnyTarget());
|
||||
|
|
|
@ -44,7 +44,7 @@ public class DarkNourishment extends CardImpl {
|
|||
public DarkNourishment(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{B}");
|
||||
|
||||
// Dark Nourishment deals 3 damage to target creature or player. You gain 3 life.
|
||||
// Dark Nourishment deals 3 damage to any target. You gain 3 life.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(3));
|
||||
|
|
|
@ -57,7 +57,7 @@ public class DaruHealer extends CardImpl {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
|
||||
// {tap}: Prevent the next 1 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -57,7 +57,7 @@ public class Dawnfluke extends CardImpl {
|
|||
|
||||
// Flash
|
||||
this.addAbility(FlashAbility.getInstance());
|
||||
// When Dawnfluke enters the battlefield, prevent the next 3 damage that would be dealt to target creature or player this turn.
|
||||
// When Dawnfluke enters the battlefield, prevent the next 3 damage that would be dealt to any target this turn.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new PreventDamageToTargetEffect(Duration.EndOfTurn, 3));
|
||||
Target target = new TargetAnyTarget();
|
||||
ability.addTarget(target);
|
||||
|
|
|
@ -59,7 +59,7 @@ public class Deadapult extends CardImpl {
|
|||
public Deadapult(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{R}");
|
||||
|
||||
// {R}, Sacrifice a Zombie: Deadapult deals 2 damage to target creature or player.
|
||||
// {R}, Sacrifice a Zombie: Deadapult deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{R}"));
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(filter)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -56,7 +56,7 @@ public class DeathSpark extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}");
|
||||
|
||||
|
||||
// Death Spark deals 1 damage to target creature or player.
|
||||
// Death Spark deals 1 damage to any target.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(1));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ public class DeathbringerThoctar extends CardImpl {
|
|||
// Whenever another creature dies, you may put a +1/+1 counter on Deathbringer Thoctar.
|
||||
this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true, true));
|
||||
|
||||
// Remove a +1/+1 counter from Deathbringer Thoctar: Deathbringer Thoctar deals 1 damage to target creature or player.
|
||||
// Remove a +1/+1 counter from Deathbringer Thoctar: Deathbringer Thoctar deals 1 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new RemoveCountersSourceCost(CounterType.P1P1.createInstance()));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -59,7 +59,7 @@ public class DefenderEnVec extends CardImpl {
|
|||
// Fading 4
|
||||
this.addAbility(new FadingAbility(4, this));
|
||||
|
||||
// Remove a fade counter from Defender en-Vec: Prevent the next 2 damage that would be dealt to target creature or player this turn.
|
||||
// Remove a fade counter from Defender en-Vec: Prevent the next 2 damage that would be dealt to any target this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new RemoveCountersSourceCost(CounterType.FADE.createInstance()));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
@ -55,11 +55,11 @@ public class Demonfire extends CardImpl {
|
|||
public Demonfire(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{X}{R}");
|
||||
|
||||
// Demonfire deals X damage to target creature or player.
|
||||
// Demonfire deals X damage to any target.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DamageTargetEffect(new ManacostVariableValue()),
|
||||
new InvertCondition(HellbentCondition.instance),
|
||||
"{this} deals X damage to target creature or player"));
|
||||
"{this} deals X damage to any target"));
|
||||
|
||||
// If a creature dealt damage this way would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn));
|
||||
|
|
|
@ -54,7 +54,7 @@ public class DemonicPact extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{B}{B}");
|
||||
|
||||
// At the beginning of your upkeep, choose one that hasn't been chosen
|
||||
// - Demonic Pact deals 4 damage to target creature or player and you gain 4 life;
|
||||
// - Demonic Pact deals 4 damage to any target and you gain 4 life;
|
||||
Ability ability = new BeginningOfUpkeepTriggeredAbility(new DamageTargetEffect(4), TargetController.YOU, false);
|
||||
ability.getModes().setEachModeOnlyOnce(true);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue