fixed the formatting on some ability words

This commit is contained in:
Evan Kranzler 2018-07-28 15:01:20 -04:00
parent b757f15313
commit c2c7aff4f7
48 changed files with 64 additions and 64 deletions

View file

@ -36,7 +36,7 @@ public final class ArgentSphinx extends CardImpl {
// Flying // Flying
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
// Metalcraft - {U}: Exile Argent Sphinx. Return it to the battlefield under your control at the beginning of the next end step. Activate this ability only if you control three or more artifacts. // <i>Metalcraft</i> &mdash; {U}: Exile Argent Sphinx. Return it to the battlefield under your control at the beginning of the next end step. Activate this ability only if you control three or more artifacts.
Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new ArgentSphinxEffect(), new ManaCostsImpl("{U}"), MetalcraftCondition.instance); Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new ArgentSphinxEffect(), new ManaCostsImpl("{U}"), MetalcraftCondition.instance);
ability.setAbilityWord(AbilityWord.METALCRAFT); ability.setAbilityWord(AbilityWord.METALCRAFT);
this.addAbility(ability); this.addAbility(ability);

View file

@ -22,7 +22,7 @@ import mage.constants.Zone;
*/ */
public final class AuriokEdgewright extends CardImpl { public final class AuriokEdgewright extends CardImpl {
protected static String effectText = "Metalcraft - Auriok Edgewright has double strike as long as you control three or more artifacts."; protected static String effectText = "<i>Metalcraft</i> &mdash; Auriok Edgewright has double strike as long as you control three or more artifacts.";
public AuriokEdgewright(UUID ownerId, CardSetInfo setInfo) { public AuriokEdgewright(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{W}{W}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{W}{W}");

View file

@ -23,8 +23,8 @@ import mage.constants.Zone;
*/ */
public final class AuriokSunchaser extends CardImpl { public final class AuriokSunchaser extends CardImpl {
protected static String effect1Text = "Metalcraft - As long as you control three or more artifacts, Auriok Sunchaser gets +2/+2"; protected static String effect1Text = "<i>Metalcraft</i> &mdash; As long as you control three or more artifacts, Auriok Sunchaser gets +2/+2";
protected static String effect2Text = "Metalcraft - As long as you control three or more artifacts, Auriok Sunchaser has flying"; protected static String effect2Text = "<i>Metalcraft</i> &mdash; As long as you control three or more artifacts, Auriok Sunchaser has flying";
public AuriokSunchaser(UUID ownerId, CardSetInfo setInfo) { public AuriokSunchaser(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{W}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{W}");

View file

@ -22,7 +22,7 @@ import mage.constants.SubType;
*/ */
public final class BladeTribeBerserkers extends CardImpl { public final class BladeTribeBerserkers extends CardImpl {
private static final String effectText = "Metalcraft - When Blade-Tribe Berserkers enters the battlefield, if you control three or more artifacts, Blade-Tribe Berserkers gets +3/+3 and gains haste until end of turn."; private static final String effectText = "<i>Metalcraft</i> &mdash; When Blade-Tribe Berserkers enters the battlefield, if you control three or more artifacts, Blade-Tribe Berserkers gets +3/+3 and gains haste until end of turn.";
public BladeTribeBerserkers(UUID ownerId, CardSetInfo setInfo) { public BladeTribeBerserkers(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
@ -31,7 +31,7 @@ public final class BladeTribeBerserkers extends CardImpl {
this.power = new MageInt(3); this.power = new MageInt(3);
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
//Metalcraft - When Blade-Tribe Berserkers enters the battlefield, if you control three or more artifacts, Blade-Tribe Berserkers gets +3/+3 and gains haste until end of turn. //<i>Metalcraft</i> &mdash; When Blade-Tribe Berserkers enters the battlefield, if you control three or more artifacts, Blade-Tribe Berserkers gets +3/+3 and gains haste until end of turn.
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new BoostSourceEffect(3, 3, Duration.EndOfTurn), false); TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new BoostSourceEffect(3, 3, Duration.EndOfTurn), false);
ability.addEffect(new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn)); ability.addEffect(new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MetalcraftCondition.instance, effectText)); this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MetalcraftCondition.instance, effectText));

View file

@ -22,7 +22,7 @@ import mage.target.TargetPlayer;
*/ */
public final class BleakCovenVampires extends CardImpl { public final class BleakCovenVampires extends CardImpl {
private static final String effectText = "Metalcraft - When Bleak Coven Vampires enters the battlefield, if you control three or more artifacts, target player loses 4 life and you gain 4 life."; private static final String effectText = "<i>Metalcraft</i> &mdash; When Bleak Coven Vampires enters the battlefield, if you control three or more artifacts, target player loses 4 life and you gain 4 life.";
public BleakCovenVampires(UUID ownerId, CardSetInfo setInfo) { public BleakCovenVampires(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}");
@ -31,7 +31,7 @@ public final class BleakCovenVampires extends CardImpl {
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
//Metalcraft - When Bleak Coven Vampires enters the battlefield, if you control three or more artifacts, target player loses 4 life and you gain 4 life. //<i>Metalcraft</i> &mdash; When Bleak Coven Vampires enters the battlefield, if you control three or more artifacts, target player loses 4 life and you gain 4 life.
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(4), false); TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(4), false);
ability.addEffect(new GainLifeEffect(4)); ability.addEffect(new GainLifeEffect(4));
Target target = new TargetPlayer(); Target target = new TargetPlayer();

View file

@ -24,7 +24,7 @@ public final class BrimstoneVolley extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}"); super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
// Brimstone Volley deals 3 damage to any target. // 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. // <i>Morbid</i> &mdash; Brimstone Volley deals 5 damage to that creature or player instead if a creature died this turn.
this.getSpellAbility().addEffect(new BrimstoneVolleyEffect()); this.getSpellAbility().addEffect(new BrimstoneVolleyEffect());
this.getSpellAbility().addTarget(new TargetAnyTarget()); this.getSpellAbility().addTarget(new TargetAnyTarget());
} }
@ -43,7 +43,7 @@ class BrimstoneVolleyEffect extends OneShotEffect {
public BrimstoneVolleyEffect() { public BrimstoneVolleyEffect() {
super(Outcome.Damage); super(Outcome.Damage);
staticText = "{this} deals 3 damage to any target.\n Morbid - {this} deals 5 damage to that permanent or player instead if a creature died this turn"; staticText = "{this} deals 3 damage to any target.\n <i>Morbid</i> &mdash; {this} deals 5 damage to that permanent or player instead if a creature died this turn";
} }
public BrimstoneVolleyEffect(final BrimstoneVolleyEffect effect) { public BrimstoneVolleyEffect(final BrimstoneVolleyEffect effect) {

View file

@ -21,7 +21,7 @@ import mage.constants.Zone;
* @author Loki * @author Loki
*/ */
public final class CarapaceForger extends CardImpl { public final class CarapaceForger extends CardImpl {
private static final String text = "Metalcraft - Carapace Forger gets +2/+2 as long as you control three or more artifacts"; private static final String text = "<i>Metalcraft</i> &mdash; Carapace Forger gets +2/+2 as long as you control three or more artifacts";
public CarapaceForger (UUID ownerId, CardSetInfo setInfo) { public CarapaceForger (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");

View file

@ -26,7 +26,7 @@ public final class CaravanVigil extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{G}"); super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{G}");
// Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. // Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
// Morbid - You may put that card onto the battlefield instead of putting it into your hand if a creature died this turn. // <i>Morbid</i> &mdash; You may put that card onto the battlefield instead of putting it into your hand if a creature died this turn.
this.getSpellAbility().addEffect(new CaravanVigilEffect()); this.getSpellAbility().addEffect(new CaravanVigilEffect());
} }

View file

@ -21,7 +21,7 @@ import mage.constants.Zone;
* @author Loki * @author Loki
*/ */
public final class ChromeSteed extends CardImpl { public final class ChromeSteed extends CardImpl {
private static final String text = "Metalcraft - Chrome Steed gets +2/+2 as long as you control three or more artifacts"; private static final String text = "<i>Metalcraft</i> &mdash; Chrome Steed gets +2/+2 as long as you control three or more artifacts";
public ChromeSteed (UUID ownerId, CardSetInfo setInfo) { public ChromeSteed (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{4}"); super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{4}");

View file

@ -29,7 +29,7 @@ public final class ConcussiveBolt extends CardImpl {
// Concussive Bolt deals 4 damage to target player. // Concussive Bolt deals 4 damage to target player.
this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker()); this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker());
this.getSpellAbility().addEffect(new DamageTargetEffect(4)); this.getSpellAbility().addEffect(new DamageTargetEffect(4));
// Metalcraft - If you control three or more artifacts, creatures that player controls can't block this turn. // <i>Metalcraft</i> &mdash; If you control three or more artifacts, creatures that player controls can't block this turn.
this.getSpellAbility().addEffect(new ConcussiveBoltEffect()); this.getSpellAbility().addEffect(new ConcussiveBoltEffect());
this.getSpellAbility().addEffect(new ConcussiveBoltRestrictionEffect()); this.getSpellAbility().addEffect(new ConcussiveBoltRestrictionEffect());
} }
@ -48,7 +48,7 @@ class ConcussiveBoltEffect extends OneShotEffect {
public ConcussiveBoltEffect() { public ConcussiveBoltEffect() {
super(Outcome.Benefit); super(Outcome.Benefit);
this.staticText = "Metalcraft - If you control three or more artifacts, creatures controlled by that player or by that planeswalker's controller can't block this turn."; this.staticText = "<i>Metalcraft</i> &mdash; If you control three or more artifacts, creatures controlled by that player or by that planeswalker's controller can't block this turn.";
} }
public ConcussiveBoltEffect(final ConcussiveBoltEffect effect) { public ConcussiveBoltEffect(final ConcussiveBoltEffect effect) {

View file

@ -20,7 +20,7 @@ public final class DeathreapRitual extends CardImpl {
public DeathreapRitual(UUID ownerId, CardSetInfo setInfo) { public DeathreapRitual(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{B}{G}"); super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{B}{G}");
// Morbid - At the beginning of each end step, if a creature died this turn, you may draw a card. // <i>Morbid</i> &mdash; At the beginning of each end step, if a creature died this turn, you may draw a card.
this.addAbility(new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), this.addAbility(new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1),
TargetController.ANY, MorbidCondition.instance, true)); TargetController.ANY, MorbidCondition.instance, true));
} }

View file

@ -22,7 +22,7 @@ public final class Dispatch extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{W}"); super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{W}");
this.getSpellAbility().addEffect(new TapTargetEffect()); this.getSpellAbility().addEffect(new TapTargetEffect());
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new ExileTargetEffect(), MetalcraftCondition.instance, "Metalcraft - If you control three or more artifacts, exile that creature")); this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new ExileTargetEffect(), MetalcraftCondition.instance, "<i>Metalcraft</i> &mdash; If you control three or more artifacts, exile that creature"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent()); this.getSpellAbility().addTarget(new TargetCreaturePermanent());
} }

View file

@ -43,7 +43,7 @@ public final class DispenseJustice extends CardImpl {
class DispenseJusticeEffect extends OneShotEffect { class DispenseJusticeEffect extends OneShotEffect {
private static final String effectText = "Target player sacrifices an attacking creature.\r\n\r\n" private static final String effectText = "Target player sacrifices an attacking creature.\r\n\r\n"
+ "Metalcraft - That player sacrifices two attacking creatures instead if you control three or more artifacts"; + "<i>Metalcraft</i> &mdash; That player sacrifices two attacking creatures instead if you control three or more artifacts";
private static final FilterAttackingCreature filter = new FilterAttackingCreature(); private static final FilterAttackingCreature filter = new FilterAttackingCreature();

View file

@ -24,7 +24,7 @@ import mage.constants.Zone;
* @author Loki * @author Loki
*/ */
public final class EzurisBrigade extends CardImpl { public final class EzurisBrigade extends CardImpl {
private static final String text = "Metalcraft - As long as you control three or more artifacts, Ezuri's Brigade gets +4/+4 and has trample"; private static final String text = "<i>Metalcraft</i> &mdash; As long as you control three or more artifacts, Ezuri's Brigade gets +4/+4 and has trample";
public EzurisBrigade (UUID ownerId, CardSetInfo setInfo) { public EzurisBrigade (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{G}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{G}");

View file

@ -28,7 +28,7 @@ public final class FesterhideBoar extends CardImpl {
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
this.addAbility(TrampleAbility.getInstance()); this.addAbility(TrampleAbility.getInstance());
// Morbid - Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn. // <i>Morbid</i> &mdash; Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.
this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)),
MorbidCondition.instance, ""), "with two +1/+1 counters on it if a creature died this turn")); MorbidCondition.instance, ""), "with two +1/+1 counters on it if a creature died this turn"));
} }

View file

@ -16,14 +16,14 @@ import mage.target.common.TargetAnyTarget;
*/ */
public final class GalvanicBlast extends CardImpl { public final class GalvanicBlast extends CardImpl {
private static final String effectText = "{this} deals 2 damage to anytarget.<br>Metalcraft - {this} deals 4 damage to that permanent or player instead if you control three or more artifacts"; private static final String effectText = "{this} deals 2 damage to anytarget.<br><i>Metalcraft</i> &mdash; {this} deals 4 damage to that permanent or player instead if you control three or more artifacts";
public GalvanicBlast(UUID ownerId, CardSetInfo setInfo) { public GalvanicBlast(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}"); super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}");
this.color.setRed(true); this.color.setRed(true);
// Galvanic Blast deals 2 damage to any target. // Galvanic Blast deals 2 damage to any target.
// Metalcraft - Galvanic Blast deals 4 damage to that creature or player instead if you control three or more artifacts. // <i>Metalcraft</i> &mdash; Galvanic Blast deals 4 damage to that creature or player instead if you control three or more artifacts.
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new DamageTargetEffect(4), new DamageTargetEffect(2), MetalcraftCondition.instance, effectText)); this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new DamageTargetEffect(4), new DamageTargetEffect(2), MetalcraftCondition.instance, effectText));
this.getSpellAbility().addTarget(new TargetAnyTarget()); this.getSpellAbility().addTarget(new TargetAnyTarget());
} }

View file

@ -22,7 +22,7 @@ import mage.constants.Zone;
*/ */
public final class GhalmasWarden extends CardImpl { public final class GhalmasWarden extends CardImpl {
private static final String text = "Metalcraft - Ghalma's Warden gets +2/+2 as long as you control three or more artifacts"; private static final String text = "<i>Metalcraft</i> &mdash; Ghalma's Warden gets +2/+2 as long as you control three or more artifacts";
public GhalmasWarden (UUID ownerId, CardSetInfo setInfo) { public GhalmasWarden (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{W}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{W}");

View file

@ -28,7 +28,7 @@ public final class GravetillerWurm extends CardImpl {
this.toughness = new MageInt(4); this.toughness = new MageInt(4);
this.addAbility(TrampleAbility.getInstance()); this.addAbility(TrampleAbility.getInstance());
// Morbid - Gravetiller Wurm enters the battlefield with four +1/+1 counters on it if a creature died this turn. // <i>Morbid</i> &mdash; Gravetiller Wurm enters the battlefield with four +1/+1 counters on it if a creature died this turn.
this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(4)), this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(4)),
MorbidCondition.instance, ""), "with four +1/+1 counters on it if a creature died this turn")); MorbidCondition.instance, ""), "with four +1/+1 counters on it if a creature died this turn"));
} }

View file

@ -31,12 +31,12 @@ public final class GruesomeDiscovery extends CardImpl {
// Target player discards two cards. // Target player discards two cards.
// Morbid - If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards. // <i>Morbid</i> &mdash; If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards.
this.getSpellAbility().addEffect(new ConditionalOneShotEffect( this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
new GruesomeDiscoveryEffect(), new GruesomeDiscoveryEffect(),
new DiscardTargetEffect(2), new DiscardTargetEffect(2),
MorbidCondition.instance, MorbidCondition.instance,
"Target player discards two cards. Morbid - If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards")); "Target player discards two cards. <i>Morbid</i> &mdash; If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards"));
this.getSpellAbility().addTarget(new TargetPlayer()); this.getSpellAbility().addTarget(new TargetPlayer());
} }

View file

@ -19,7 +19,7 @@ import mage.constants.SubType;
*/ */
public final class HollowhengeScavenger extends CardImpl { public final class HollowhengeScavenger extends CardImpl {
private static final String staticText = "Morbid - When {this} enters the battlefield, if a creature died this turn, you gain 5 life."; private static final String staticText = "<i>Morbid</i> &mdash; When {this} enters the battlefield, if a creature died this turn, you gain 5 life.";
public HollowhengeScavenger(UUID ownerId, CardSetInfo setInfo) { public HollowhengeScavenger(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}");
@ -28,7 +28,7 @@ public final class HollowhengeScavenger extends CardImpl {
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(5); this.toughness = new MageInt(5);
// Morbid - When Hollowhenge Scavenger enters the battlefield, if a creature died this turn, you gain 5 life. // <i>Morbid</i> &mdash; When Hollowhenge Scavenger enters the battlefield, if a creature died this turn, you gain 5 life.
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new GainLifeEffect(5)); TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new GainLifeEffect(5));
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MorbidCondition.instance, staticText)); this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MorbidCondition.instance, staticText));
} }

View file

@ -22,13 +22,13 @@ public final class HungerOfTheHowlpack extends CardImpl {
// Put a +1/+1 counter on target creature. // Put a +1/+1 counter on target creature.
// Morbid - Put three +1/+1 counters on that creature instead if a creature died this turn. // <i>Morbid</i> &mdash; Put three +1/+1 counters on that creature instead if a creature died this turn.
this.getSpellAbility().addEffect( this.getSpellAbility().addEffect(
new ConditionalOneShotEffect( new ConditionalOneShotEffect(
new AddCountersTargetEffect(CounterType.P1P1.createInstance(3)), new AddCountersTargetEffect(CounterType.P1P1.createInstance(3)),
new AddCountersTargetEffect(CounterType.P1P1.createInstance()), new AddCountersTargetEffect(CounterType.P1P1.createInstance()),
MorbidCondition.instance, MorbidCondition.instance,
"Put a +1/+1 counter on target creature. Morbid - Put three +1/+1 counters on that creature instead if a creature died this turn")); "Put a +1/+1 counter on target creature. <i>Morbid</i> &mdash; Put three +1/+1 counters on that creature instead if a creature died this turn"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent()); this.getSpellAbility().addTarget(new TargetCreaturePermanent());
} }

View file

@ -25,7 +25,7 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
*/ */
public final class IndomitableArchangel extends CardImpl { public final class IndomitableArchangel extends CardImpl {
private static final String rule = "Metalcraft - Artifacts you control have shroud as long as you control three or more artifacts."; private static final String rule = "<i>Metalcraft</i> &mdash; Artifacts you control have shroud as long as you control three or more artifacts.";
private static final FilterPermanent filter = new FilterPermanent("Artifacts"); private static final FilterPermanent filter = new FilterPermanent("Artifacts");

View file

@ -23,7 +23,7 @@ import mage.filter.StaticFilters;
*/ */
public final class JorKadeenThePrevailer extends CardImpl { public final class JorKadeenThePrevailer extends CardImpl {
private static final String effectText = "Metalcraft - Creatures you control get +3/+0 as long as you control three or more artifacts."; private static final String effectText = "<i>Metalcraft</i> &mdash; Creatures you control get +3/+0 as long as you control three or more artifacts.";
public JorKadeenThePrevailer(UUID ownerId, CardSetInfo setInfo) { public JorKadeenThePrevailer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{W}"); super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{W}");
@ -37,7 +37,7 @@ public final class JorKadeenThePrevailer extends CardImpl {
// First strike // First strike
this.addAbility(FirstStrikeAbility.getInstance()); this.addAbility(FirstStrikeAbility.getInstance());
// Metalcraft - Creatures you control get +3/+0 as long as you control three or more artifacts. // <i>Metalcraft</i> &mdash; Creatures you control get +3/+0 as long as you control three or more artifacts.
ConditionalContinuousEffect effect = new ConditionalContinuousEffect(new BoostControlledEffect(3, 0, Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE, false), ConditionalContinuousEffect effect = new ConditionalContinuousEffect(new BoostControlledEffect(3, 0, Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE, false),
MetalcraftCondition.instance, effectText); MetalcraftCondition.instance, effectText);
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));

View file

@ -37,7 +37,7 @@ public final class KuldothaPhoenix extends CardImpl {
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
this.addAbility(HasteAbility.getInstance()); this.addAbility(HasteAbility.getInstance());
// Metalcraft - {4}: Return Kuldotha Phoenix from your graveyard to the battlefield. // <i>Metalcraft</i> &mdash; {4}: Return Kuldotha Phoenix from your graveyard to the battlefield.
// Activate this ability only during your upkeep and only if you control three or more artifacts. // Activate this ability only during your upkeep and only if you control three or more artifacts.
Ability ability = new ConditionalActivatedAbility(Zone.GRAVEYARD, Ability ability = new ConditionalActivatedAbility(Zone.GRAVEYARD,
new ReturnSourceFromGraveyardToBattlefieldEffect(), new ReturnSourceFromGraveyardToBattlefieldEffect(),

View file

@ -20,7 +20,7 @@ import mage.target.common.TargetCreaturePermanent;
*/ */
public final class LumengridDrake extends CardImpl { public final class LumengridDrake extends CardImpl {
private static final String ruleText = "Metalcraft - When {this} enters the battlefield, if you control three or more artifacts, return target creature to its owner's hand."; private static final String ruleText = "<i>Metalcraft</i> &mdash; When {this} enters the battlefield, if you control three or more artifacts, return target creature to its owner's hand.";
public LumengridDrake(UUID ownerId, CardSetInfo setInfo) { public LumengridDrake(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}");

View file

@ -38,7 +38,7 @@ public final class MaliciousAffliction extends CardImpl {
public MaliciousAffliction(UUID ownerId, CardSetInfo setInfo) { public MaliciousAffliction(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{B}{B}"); super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{B}{B}");
// Morbid - When you cast Malicious Affliction, if a creature died this turn, you may copy Malicious Affliction and may choose a new target for the copy. // <i>Morbid</i> &mdash; When you cast Malicious Affliction, if a creature died this turn, you may copy Malicious Affliction and may choose a new target for the copy.
Ability ability = new ConditionalInterveningIfTriggeredAbility( Ability ability = new ConditionalInterveningIfTriggeredAbility(
new CastSourceTriggeredAbility(new CopySourceSpellEffect(), true), new CastSourceTriggeredAbility(new CopySourceSpellEffect(), true),
new LockedInCondition(MorbidCondition.instance), new LockedInCondition(MorbidCondition.instance),

View file

@ -18,7 +18,7 @@ import mage.target.common.TargetCreaturePermanent;
*/ */
public final class MirranMettle extends CardImpl { public final class MirranMettle extends CardImpl {
private static final String effectText = "Metalcraft - That creature gets +4/+4 until end of turn instead if you control three or more artifacts."; private static final String effectText = "<i>Metalcraft</i> &mdash; That creature gets +4/+4 until end of turn instead if you control three or more artifacts.";
public MirranMettle(UUID ownerId, CardSetInfo setInfo) { public MirranMettle(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{G}"); super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{G}");

View file

@ -29,7 +29,7 @@ public final class MoltenPsyche extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}{R}"); super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
// Each player shuffles the cards from their hand into their library, then draws that many cards. // Each player shuffles the cards from their hand into their library, then draws that many cards.
// Metalcraft - If you control three or more artifacts, Molten Psyche deals damage to each opponent equal to the number of cards that player has drawn this turn. // <i>Metalcraft</i> &mdash; If you control three or more artifacts, Molten Psyche deals damage to each opponent equal to the number of cards that player has drawn this turn.
this.getSpellAbility().addEffect(new MoltenPsycheEffect()); this.getSpellAbility().addEffect(new MoltenPsycheEffect());
this.getSpellAbility().addWatcher(new MoltenPsycheWatcher()); this.getSpellAbility().addWatcher(new MoltenPsycheWatcher());
} }

View file

@ -20,7 +20,7 @@ import mage.target.common.TargetCreaturePermanent;
*/ */
public final class MorkrutBanshee extends CardImpl { public final class MorkrutBanshee extends CardImpl {
private static final String staticText = "Morbid - When {this} enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn."; private static final String staticText = "<i>Morbid</i> &mdash; When {this} enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn.";
public MorkrutBanshee(UUID ownerId, CardSetInfo setInfo) { public MorkrutBanshee(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}");
@ -30,7 +30,7 @@ public final class MorkrutBanshee extends CardImpl {
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(4); this.toughness = new MageInt(4);
// Morbid - When Morkut Banshee enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn. // <i>Morbid</i> &mdash; When Morkut Banshee enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn.
TriggeredAbility triggeredAbility = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect(-4, -4, Duration.EndOfTurn)); TriggeredAbility triggeredAbility = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect(-4, -4, Duration.EndOfTurn));
TriggeredAbility ability = new ConditionalInterveningIfTriggeredAbility(triggeredAbility, MorbidCondition.instance, staticText); TriggeredAbility ability = new ConditionalInterveningIfTriggeredAbility(triggeredAbility, MorbidCondition.instance, staticText);
ability.addTarget(new TargetCreaturePermanent()); ability.addTarget(new TargetCreaturePermanent());

View file

@ -21,7 +21,7 @@ public final class PredatorsHowl extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{G}"); super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{G}");
// Create a 2/2 green Wolf creature token. // Create a 2/2 green Wolf creature token.
// Morbid - Create three 2/2 green Wolf creature tokens instead if a creature died this turn. // <i>Morbid</i> &mdash; Create three 2/2 green Wolf creature tokens instead if a creature died this turn.
Effect effect = new ConditionalOneShotEffect( Effect effect = new ConditionalOneShotEffect(
new CreateTokenEffect(new WolfToken(), 3), new CreateTokenEffect(new WolfToken(), 3),
new CreateTokenEffect(new WolfToken(), 1), new CreateTokenEffect(new WolfToken(), 1),

View file

@ -39,11 +39,11 @@ public final class PuresteelPaladin extends CardImpl {
// Whenever an Equipment enters the battlefield under your control, you may draw a card. // Whenever an Equipment enters the battlefield under your control, you may draw a card.
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), filter, true)); this.addAbility(new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), filter, true));
// Metalcraft - Equipment you control have equip {0} as long as you control three or more artifacts // <i>Metalcraft</i> &mdash; Equipment you control have equip {0} as long as you control three or more artifacts
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinuousEffect( this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinuousEffect(
new GainAbilityControlledEffect(new EquipAbility(Outcome.AddAbility, new GenericManaCost(0)), Duration.WhileOnBattlefield, filter), new GainAbilityControlledEffect(new EquipAbility(Outcome.AddAbility, new GenericManaCost(0)), Duration.WhileOnBattlefield, filter),
MetalcraftCondition.instance, MetalcraftCondition.instance,
"Metalcraft - Equipment you control have equip {0} as long as you control three or more artifacts"))); "<i>Metalcraft</i> &mdash; Equipment you control have equip {0} as long as you control three or more artifacts")));
} }
public PuresteelPaladin(final PuresteelPaladin card) { public PuresteelPaladin(final PuresteelPaladin card) {

View file

@ -28,7 +28,7 @@ public final class RazorfieldRhino extends CardImpl {
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(4); this.toughness = new MageInt(4);
ContinuousEffect effect1 = new BoostSourceEffect(2, 2, Duration.WhileOnBattlefield); ContinuousEffect effect1 = new BoostSourceEffect(2, 2, Duration.WhileOnBattlefield);
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinuousEffect(effect1, MetalcraftCondition.instance, "Metalcraft - Razorfield Rhino gets +2/+2 as long as you control three or more artifacts"))); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinuousEffect(effect1, MetalcraftCondition.instance, "<i>Metalcraft</i> &mdash; Razorfield Rhino gets +2/+2 as long as you control three or more artifacts")));
} }
public RazorfieldRhino (final RazorfieldRhino card) { public RazorfieldRhino (final RazorfieldRhino card) {

View file

@ -87,6 +87,6 @@ class ReaperFromTheAbyssAbility extends TriggeredAbilityImpl {
@Override @Override
public String getRule() { public String getRule() {
return "Morbid - At the beginning of each end step, if a creature died this turn, destroy target non-demon creature."; return "<i>Morbid</i> &mdash; At the beginning of each end step, if a creature died this turn, destroy target non-demon creature.";
} }
} }

View file

@ -29,7 +29,7 @@ public final class RustedRelic extends CardImpl {
new ConditionalContinuousEffect( new ConditionalContinuousEffect(
new BecomesCreatureSourceEffect(new RustedRelicToken(), "artifact", Duration.WhileOnBattlefield), new BecomesCreatureSourceEffect(new RustedRelicToken(), "artifact", Duration.WhileOnBattlefield),
MetalcraftCondition.instance, MetalcraftCondition.instance,
"Metalcraft - {this} is a 5/5 Golem artifact creature as long as you control three or more artifacts"))); "<i>Metalcraft</i> &mdash; {this} is a 5/5 Golem artifact creature as long as you control three or more artifacts")));
} }
public RustedRelic (final RustedRelic card) { public RustedRelic (final RustedRelic card) {

View file

@ -20,7 +20,7 @@ import mage.constants.SubType;
*/ */
public final class ScreechingSilcaw extends CardImpl { public final class ScreechingSilcaw extends CardImpl {
private static final String text = "Metalcraft - Whenever Screeching Silcaw deals combat damage to a player, if you control three or more artifacts, that player puts the top four cards of their library into their graveyard."; private static final String text = "<i>Metalcraft</i> &mdash; Whenever Screeching Silcaw deals combat damage to a player, if you control three or more artifacts, that player puts the top four cards of their library into their graveyard.";
public ScreechingSilcaw(UUID ownerId, CardSetInfo setInfo) { public ScreechingSilcaw(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}");
@ -31,7 +31,7 @@ public final class ScreechingSilcaw extends CardImpl {
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
//"Metalcraft - Whenever Screeching Silcaw deals combat damage to a player, if you control three or more artifacts, that player puts the top four cards of their library into their graveyard. //"<i>Metalcraft</i> &mdash; Whenever Screeching Silcaw deals combat damage to a player, if you control three or more artifacts, that player puts the top four cards of their library into their graveyard.
TriggeredAbility conditional = new ConditionalInterveningIfTriggeredAbility( TriggeredAbility conditional = new ConditionalInterveningIfTriggeredAbility(
new DealsCombatDamageToAPlayerTriggeredAbility(new PutLibraryIntoGraveTargetEffect(4), false, true), new DealsCombatDamageToAPlayerTriggeredAbility(new PutLibraryIntoGraveTargetEffect(4), false, true),
MetalcraftCondition.instance, text); MetalcraftCondition.instance, text);

View file

@ -41,7 +41,7 @@ public final class SkirsdagHighPriest extends CardImpl {
this.power = new MageInt(1); this.power = new MageInt(1);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
// Morbid - {tap}, Tap two untapped creatures you control: Create a 5/5 black Demon creature token with flying. Activate this ability only if a creature died this turn. // <i>Morbid</i> &mdash; {tap}, Tap two untapped creatures you control: Create a 5/5 black Demon creature token with flying. Activate this ability only if a creature died this turn.
Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new DemonToken()), Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new DemonToken()),
new TapSourceCost(), MorbidCondition.instance); new TapSourceCost(), MorbidCondition.instance);
ability.addCost(new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, false))); ability.addCost(new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, false)));

View file

@ -23,7 +23,7 @@ import mage.constants.Zone;
*/ */
public final class SnapsailGlider extends CardImpl { public final class SnapsailGlider extends CardImpl {
protected static String rule = "Metalcraft - Snapsail Glider has flying as long as you control three or more artifacts"; protected static String rule = "<i>Metalcraft</i> &mdash; Snapsail Glider has flying as long as you control three or more artifacts";
public SnapsailGlider (UUID ownerId, CardSetInfo setInfo) { public SnapsailGlider (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{3}"); super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{3}");

View file

@ -28,7 +28,7 @@ public final class SomberwaldSpider extends CardImpl {
this.toughness = new MageInt(4); this.toughness = new MageInt(4);
this.addAbility(ReachAbility.getInstance()); this.addAbility(ReachAbility.getInstance());
// Morbid - Somberwald Spider enters the battlefield with two +1/+1 counters on it if a creature died this turn. // <i>Morbid</i> &mdash; Somberwald Spider enters the battlefield with two +1/+1 counters on it if a creature died this turn.
this.addAbility(new EntersBattlefieldAbility( this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), MorbidCondition.instance, ""), new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), MorbidCondition.instance, ""),
"with two +1/+1 counters on it if a creature died this turn")); "with two +1/+1 counters on it if a creature died this turn"));

View file

@ -22,7 +22,7 @@ import mage.constants.Zone;
*/ */
public final class SpiralingDuelist extends CardImpl { public final class SpiralingDuelist extends CardImpl {
private static final String effectText = "Metalcraft - Spiraling Duelist has double strike as long as you control three or more artifacts."; private static final String effectText = "<i>Metalcraft</i> &mdash; Spiraling Duelist has double strike as long as you control three or more artifacts.";
public SpiralingDuelist(UUID ownerId, CardSetInfo setInfo) { public SpiralingDuelist(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}{R}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}{R}");

View file

@ -25,7 +25,7 @@ import mage.constants.Zone;
*/ */
public final class SpireSerpent extends CardImpl { public final class SpireSerpent extends CardImpl {
private static final String abilityText1 = "Metalcraft - As long as you control three or more artifacts, {this} gets +2/+2"; private static final String abilityText1 = "<i>Metalcraft</i> &mdash; As long as you control three or more artifacts, {this} gets +2/+2";
public SpireSerpent(UUID ownerId, CardSetInfo setInfo) { public SpireSerpent(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{U}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{U}");

View file

@ -23,7 +23,7 @@ public final class StoicRebuttal extends CardImpl {
public StoicRebuttal(UUID ownerId, CardSetInfo setInfo) { public StoicRebuttal(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{U}{U}"); super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{U}{U}");
// Metalcraft - Stoic Rebuttal costs {1} less to cast if you control three or more artifacts. // <i>Metalcraft</i> &mdash; Stoic Rebuttal costs {1} less to cast if you control three or more artifacts.
Ability ability = new SimpleStaticAbility(Zone.STACK, new SpellCostReductionSourceEffect(1, MetalcraftCondition.instance)); Ability ability = new SimpleStaticAbility(Zone.STACK, new SpellCostReductionSourceEffect(1, MetalcraftCondition.instance));
ability.setRuleAtTheTop(true); ability.setRuleAtTheTop(true);
ability.setAbilityWord(AbilityWord.METALCRAFT); ability.setAbilityWord(AbilityWord.METALCRAFT);

View file

@ -23,12 +23,12 @@ public final class TragicSlip extends CardImpl {
// Target creature gets -1/-1 until end of turn. // Target creature gets -1/-1 until end of turn.
// Morbid - That creature gets -13/-13 until end of turn instead if a creature died this turn. // <i>Morbid</i> &mdash; That creature gets -13/-13 until end of turn instead if a creature died this turn.
this.getSpellAbility().addEffect(new ConditionalContinuousEffect( this.getSpellAbility().addEffect(new ConditionalContinuousEffect(
new BoostTargetEffect(-13, -13, Duration.EndOfTurn), new BoostTargetEffect(-13, -13, Duration.EndOfTurn),
new BoostTargetEffect(-1, -1, Duration.EndOfTurn), new BoostTargetEffect(-1, -1, Duration.EndOfTurn),
new LockedInCondition(MorbidCondition.instance), new LockedInCondition(MorbidCondition.instance),
"Target creature gets -1/-1 until end of turn. Morbid - That creature gets -13/-13 until end of turn instead if a creature died this turn")); "Target creature gets -1/-1 until end of turn. <i>Morbid</i> &mdash; That creature gets -13/-13 until end of turn instead if a creature died this turn"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent()); this.getSpellAbility().addTarget(new TargetCreaturePermanent());
} }

View file

@ -29,7 +29,7 @@ public final class UlvenwaldBear extends CardImpl {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
// Morbid - When Ulvenwald Bear enters the battlefield, if a creature died this turn, put two +1/+1 counters on target creature. // <i>Morbid</i> &mdash; When Ulvenwald Bear enters the battlefield, if a creature died this turn, put two +1/+1 counters on target creature.
Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance(2), Outcome.BoostCreature)), Ability ability = new ConditionalInterveningIfTriggeredAbility(new EntersBattlefieldTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance(2), Outcome.BoostCreature)),
MorbidCondition.instance, "When {this} enters the battlefield, if a creature died this turn, put two +1/+1 counters on target creature."); MorbidCondition.instance, "When {this} enters the battlefield, if a creature died this turn, put two +1/+1 counters on target creature.");
ability.addTarget(new TargetCreaturePermanent()); ability.addTarget(new TargetCreaturePermanent());

View file

@ -43,7 +43,7 @@ public final class VedalkenCertarch extends CardImpl {
this.power = new MageInt(1); this.power = new MageInt(1);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
// Metalcraft - {T}: Tap target artifact, creature, or land. Activate this ability only if you control three or more artifacts. // <i>Metalcraft</i> &mdash; {T}: Tap target artifact, creature, or land. Activate this ability only if you control three or more artifacts.
Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost(), MetalcraftCondition.instance); Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost(), MetalcraftCondition.instance);
ability.setAbilityWord(AbilityWord.METALCRAFT); ability.setAbilityWord(AbilityWord.METALCRAFT);
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent(filter));

View file

@ -20,7 +20,7 @@ import mage.game.permanent.token.ZombieToken;
*/ */
public final class Wakedancer extends CardImpl { public final class Wakedancer extends CardImpl {
private static final String staticText = "Morbid - When {this} enters the battlefield, if a creature died this turn, create a 2/2 black Zombie creature token."; private static final String staticText = "<i>Morbid</i> &mdash; When {this} enters the battlefield, if a creature died this turn, create a 2/2 black Zombie creature token.";
public Wakedancer(UUID ownerId, CardSetInfo setInfo) { public Wakedancer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
@ -31,7 +31,7 @@ public final class Wakedancer extends CardImpl {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
// Morbid - When Wakedancer enters the battlefield, if a creature died this turn, create a 2/2 black Zombie creature token. // <i>Morbid</i> &mdash; When Wakedancer enters the battlefield, if a creature died this turn, create a 2/2 black Zombie creature token.
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new ZombieToken())); TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new ZombieToken()));
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MorbidCondition.instance, staticText)); this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MorbidCondition.instance, staticText));
} }

View file

@ -27,7 +27,7 @@ import mage.util.RandomUtil;
*/ */
public final class WoodlandSleuth extends CardImpl { public final class WoodlandSleuth extends CardImpl {
private static final String staticText = "Morbid - When {this} enters the battlefield, if a creature died this turn, return a creature card at random from your graveyard to your hand."; private static final String staticText = "<i>Morbid</i> &mdash; When {this} enters the battlefield, if a creature died this turn, return a creature card at random from your graveyard to your hand.";
public WoodlandSleuth(UUID ownerId, CardSetInfo setInfo) { public WoodlandSleuth(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
@ -38,7 +38,7 @@ public final class WoodlandSleuth extends CardImpl {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
// Morbid - When Woodland Sleuth enters the battlefield, if a creature died this turn, return a creature card at random from your graveyard to your hand. // <i>Morbid</i> &mdash; When Woodland Sleuth enters the battlefield, if a creature died this turn, return a creature card at random from your graveyard to your hand.
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new WoodlandSleuthEffect()); TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new WoodlandSleuthEffect());
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MorbidCondition.instance, staticText)); this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MorbidCondition.instance, staticText));
} }

View file

@ -23,7 +23,7 @@ public class MetalcraftTest extends CardTestPlayerBase {
public void testMetalcraftFromBlinkmoth() { public void testMetalcraftFromBlinkmoth() {
addCard(Zone.BATTLEFIELD, playerA, "Darksteel Citadel",1); addCard(Zone.BATTLEFIELD, playerA, "Darksteel Citadel",1);
// Metalcraft - {this} is a 5/5 Golem artifact creature as long as you control three or more artifacts // <i>Metalcraft</i> &mdash; {this} is a 5/5 Golem artifact creature as long as you control three or more artifacts
addCard(Zone.BATTLEFIELD, playerA, "Rusted Relic", 1); addCard(Zone.BATTLEFIELD, playerA, "Rusted Relic", 1);
// {T}: Add {C}to your mana pool. // {T}: Add {C}to your mana pool.

View file

@ -127,7 +127,7 @@ public class CantCastTest extends CardTestPlayerBase {
// Your opponents can't block with creatures with even converted mana costs. // Your opponents can't block with creatures with even converted mana costs.
addCard(Zone.BATTLEFIELD, playerB, "Void Winnower"); addCard(Zone.BATTLEFIELD, playerB, "Void Winnower");
// Metalcraft - {T}: Add one mana of any color. Activate this ability only if you control three or more artifacts. // <i>Metalcraft</i> &mdash; {T}: Add one mana of any color. Activate this ability only if you control three or more artifacts.
addCard(Zone.HAND, playerA, "Mox Opal", 1); // {0} addCard(Zone.HAND, playerA, "Mox Opal", 1); // {0}
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Mox Opal"); castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Mox Opal");