mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Update a few cards to reflect "target player/opponent or planeswalker"
This commit is contained in:
parent
84a05f90a2
commit
8b475bbca5
6 changed files with 16 additions and 15 deletions
|
@ -19,7 +19,6 @@ import mage.constants.SubType;
|
|||
import mage.constants.SuperType;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.game.Game;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
import mage.target.common.TargetPlayerOrPlaneswalker;
|
||||
|
||||
|
@ -36,9 +35,9 @@ public final class ChandraNalaar extends CardImpl {
|
|||
|
||||
this.addAbility(new PlanswalkerEntersWithLoyalityCountersAbility(6));
|
||||
|
||||
// +1: Chandra Nalaar deals 1 damage to target player.
|
||||
// +1: Chandra Nalaar deals 1 damage to target player or planeswalker.
|
||||
LoyaltyAbility ability1 = new LoyaltyAbility(new DamageTargetEffect(1), 1);
|
||||
ability1.addTarget(new TargetPlayer());
|
||||
ability1.addTarget(new TargetPlayerOrPlaneswalker());
|
||||
this.addAbility(ability1);
|
||||
|
||||
// -X: Chandra Nalaar deals X damage to target creature.
|
||||
|
@ -46,7 +45,7 @@ public final class ChandraNalaar extends CardImpl {
|
|||
ability2.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability2);
|
||||
|
||||
// -8: Chandra Nalaar deals 10 damage to target player and each creature he or she controls.
|
||||
// -8: Chandra Nalaar deals 10 damage to target player or planeswalker and each creature that player or that planeswalker’s controller controls.
|
||||
Effects effects1 = new Effects();
|
||||
effects1.add(new DamageTargetEffect(10));
|
||||
effects1.add(new DamageAllControlledTargetEffect(10, new FilterCreaturePermanent())
|
||||
|
|
|
@ -53,7 +53,7 @@ public final class CollectiveDefiance extends CardImpl {
|
|||
mode.getTargets().add(new TargetCreaturePermanent(filterCreature));
|
||||
this.getSpellAbility().addMode(mode);
|
||||
|
||||
// Collective Defiance deals 3 damage to target opponent.
|
||||
// Collective Defiance deals 3 damage to target opponent or planeswalker.
|
||||
mode = new Mode();
|
||||
effect = new DamageTargetEffect(3);
|
||||
effect.setText("{this} deals 3 damage to target opponent or planeswalker");
|
||||
|
|
|
@ -15,7 +15,7 @@ import mage.constants.SubType;
|
|||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.target.common.TargetPlayerOrPlaneswalker;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -31,9 +31,9 @@ public final class CragganwickCremator extends CardImpl {
|
|||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Cragganwick Cremator enters the battlefield, discard a card at random. If you discard a creature card this way, Cragganwick Cremator deals damage equal to that card's power to target player.
|
||||
// When Cragganwick Cremator enters the battlefield, discard a card at random. If you discard a creature card this way, Cragganwick Cremator deals damage equal to that card's power to target player or planeswalker.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new CragganwickCrematorEffect(), false);
|
||||
ability.addTarget(new TargetPlayer());
|
||||
ability.addTarget(new TargetPlayerOrPlaneswalker());
|
||||
this.addAbility(ability);
|
||||
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.target.common.TargetPlayerOrPlaneswalker;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -22,12 +23,12 @@ public final class QuenchableFire extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{R}");
|
||||
|
||||
// Quenchable Fire deals 3 damage to target player.
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker());
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
// It deals an additional 3 damage to that player at the beginning of your next upkeep step unless he or she pays {U} before that step.
|
||||
// It deals an additional 3 damage to that player or planeswalker at the beginning of your next upkeep step unless that player or that planeswalker’s controller pays {U} before that step.
|
||||
this.getSpellAbility().addEffect(new UnlessPaysDelayedEffect(new ManaCostsImpl("{U}"),
|
||||
new DamageTargetEffect(3, true, "that player"), PhaseStep.UPKEEP, false,
|
||||
"It deals an additional 3 damage to that player at the beginning of your next upkeep step unless he or she pays {U} before that step."));
|
||||
new DamageTargetEffect(3, true, "that player or that planeswalker's controller"), PhaseStep.UPKEEP, false,
|
||||
"It deals an additional 3 damage to that player or planeswalker at the beginning of your next upkeep step unless that player or that planeswalker’s controller pays {U} before that step."));
|
||||
}
|
||||
|
||||
public QuenchableFire(final QuenchableFire card) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class RakdossReturn extends CardImpl {
|
|||
public RakdossReturn(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{B}{R}");
|
||||
|
||||
// Rakdos's Return deals X damage to target opponent. That player discards X cards.
|
||||
// Rakdos's Return deals X damage to target opponent or planeswalker. That player or that planeswalker’s controller discards X cards.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(new ManacostVariableValue()));
|
||||
this.getSpellAbility().addEffect(new RakdossReturnEffect());
|
||||
this.getSpellAbility().addTarget(new TargetOpponentOrPlaneswalker());
|
||||
|
|
|
@ -19,6 +19,7 @@ import mage.filter.common.FilterArtifactPermanent;
|
|||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.target.common.TargetPlayerOrPlaneswalker;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -44,9 +45,9 @@ public final class RelicBind extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Whenever enchanted artifact becomes tapped, choose one
|
||||
// — Relic Bind deals 1 damage to target player.
|
||||
// — Relic Bind deals 1 damage to target player or planeswalker.
|
||||
Ability ability2 = new BecomesTappedAttachedTriggeredAbility(new DamageTargetEffect(1), "enchanted artifact");
|
||||
ability2.addTarget(new TargetPlayer());
|
||||
ability2.addTarget(new TargetPlayerOrPlaneswalker());
|
||||
// — Target player gains 1 life.
|
||||
Mode mode = new Mode();
|
||||
mode.getEffects().add(new GainLifeTargetEffect(1));
|
||||
|
|
Loading…
Reference in a new issue