mirror of
https://github.com/correl/mage.git
synced 2024-12-29 11:09:17 +00:00
removed unnecessary card argument from various abilities
This commit is contained in:
parent
26ae7b7281
commit
69189e5a59
282 changed files with 294 additions and 299 deletions
|
@ -34,7 +34,7 @@ public final class AbandonReason extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
|
||||
|
||||
// Madness {1}{R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{1}{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl<>("{1}{R}")));
|
||||
}
|
||||
|
||||
private AbandonReason(final AbandonReason card) {
|
||||
|
|
|
@ -35,7 +35,7 @@ public final class AbominationOfGudul extends CardImpl {
|
|||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(effect, true));
|
||||
|
||||
// Morph 2BGU
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{B}{G}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{B}{G}{U}")));
|
||||
}
|
||||
|
||||
private AbominationOfGudul(final AbominationOfGudul card) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class AbzanGuide extends CardImpl {
|
|||
// Lifelink
|
||||
this.addAbility(LifelinkAbility.getInstance());
|
||||
// Morph {2}{W}{B}{G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{W}{B}{G}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{W}{B}{G}")));
|
||||
}
|
||||
|
||||
private AbzanGuide(final AbzanGuide card) {
|
||||
|
|
|
@ -43,7 +43,7 @@ public final class AcidSpewerDragon extends CardImpl {
|
|||
this.addAbility(DeathtouchAbility.getInstance());
|
||||
|
||||
// Megamorph {5}{B}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{5}{B}{B}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{5}{B}{B}"), true));
|
||||
|
||||
// When Acid-Spewer Dragon is turned face up, put a +1/+1 counter on each other Dragon creature you control.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter), false, false));
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class AerieBowmasters extends CardImpl {
|
|||
this.addAbility(ReachAbility.getInstance());
|
||||
|
||||
// Megamorph {5}{G} <i>(You may cast this card face down as a 2/2 creature for {3}. Turn it face up at any time for its megamorph cost and put a +1/+1 counter on it.)</i>)
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{5}{G}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{5}{G}"), true));
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class AinokSurvivalist extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Megamorph {1}{G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{G}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{1}{G}"), true));
|
||||
|
||||
// When Ainok Survivalist is turned face up, destroy target artifact or enchantment an opponent controls.
|
||||
Effect effect = new DestroyTargetEffect();
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class AinokTracker extends CardImpl {
|
|||
// First Strike
|
||||
this.addAbility(FirstStrikeAbility.getInstance());
|
||||
// Morph 4R
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{R}")));
|
||||
}
|
||||
|
||||
private AinokTracker(final AinokTracker card) {
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class AkromaAngelOfFury extends CardImpl {
|
|||
// {R}: Akroma, Angel of Fury gets +1/+0 until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1,0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
|
||||
// Morph {3}{R}{R}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{R}{R}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{3}{R}{R}{R}")));
|
||||
}
|
||||
|
||||
private AkromaAngelOfFury(final AkromaAngelOfFury card) {
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class AlchemistsGreeting extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Madness {1}{R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{1}{R}")));
|
||||
}
|
||||
|
||||
private AlchemistsGreeting(final AlchemistsGreeting card) {
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class AleshasVanguard extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Dash {2}{B}
|
||||
this.addAbility(new DashAbility(this, "{2}{B}"));
|
||||
this.addAbility(new DashAbility("{2}{B}"));
|
||||
}
|
||||
|
||||
private AleshasVanguard(final AleshasVanguard card) {
|
||||
|
|
|
@ -25,7 +25,7 @@ public final class AlmsOfTheVein extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetOpponent());
|
||||
|
||||
// Madness {B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{B}")));
|
||||
}
|
||||
|
||||
private AlmsOfTheVein(final AlmsOfTheVein card) {
|
||||
|
|
|
@ -35,7 +35,7 @@ public final class AmbuscadeShaman extends CardImpl {
|
|||
));
|
||||
|
||||
// Dash {3}{B} <i>(You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)</i>);
|
||||
this.addAbility(new DashAbility(this, "{3}{B}"));
|
||||
this.addAbility(new DashAbility("{3}{B}"));
|
||||
}
|
||||
|
||||
private AmbuscadeShaman(final AmbuscadeShaman card) {
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class AnjesRavager extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Madness {1}{R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{1}{R}")));
|
||||
}
|
||||
|
||||
private AnjesRavager(final AnjesRavager card) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public final class AphettoAlchemist extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{U}")));
|
||||
}
|
||||
|
||||
private AphettoAlchemist(final AphettoAlchemist card) {
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class AphettoExterminator extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Morph {3}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{3}{B}")));
|
||||
|
||||
// When Aphetto Exterminator is turned face up, target creature gets -3/-3 until end of turn.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new BoostTargetEffect(-3,-3,Duration.EndOfTurn));
|
||||
|
|
|
@ -16,7 +16,6 @@ import mage.constants.*;
|
|||
import mage.game.Game;
|
||||
import mage.game.events.EntersTheBattlefieldEvent;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.events.GameEvent.EventType;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.players.Player;
|
||||
|
||||
|
@ -39,7 +38,7 @@ public final class AquamorphEntity extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {2}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{U}")));
|
||||
}
|
||||
|
||||
private AquamorphEntity(final AquamorphEntity card) {
|
||||
|
|
|
@ -42,7 +42,7 @@ public final class ArchfiendOfSpite extends CardImpl {
|
|||
this.addAbility(new ArchfiendOfSpiteAbility());
|
||||
|
||||
// Madness {3}{B}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{3}{B}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{3}{B}{B}")));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class ArrogantWurm extends CardImpl {
|
|||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// Madness {2}{G}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{2}{G}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl<>("{2}{G}")));
|
||||
}
|
||||
|
||||
private ArrogantWurm(final ArrogantWurm card) {
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class AscendingAven extends CardImpl {
|
|||
// Ascending Aven can block only creatures with flying.
|
||||
this.addAbility(new CanBlockOnlyFlyingAbility());
|
||||
// Morph {2}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{U}")));
|
||||
}
|
||||
|
||||
private AscendingAven(final AscendingAven card) {
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class AshcloudPhoenix extends CardImpl {
|
|||
this.addAbility(new DiesSourceTriggeredAbility(new AshcloudPhoenixEffect()));
|
||||
|
||||
// Morph {4}{R}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{4}{R}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl<>("{4}{R}{R}")));
|
||||
|
||||
// When Ashcloud Phoenix is turned face up, it deals 2 damage to each player.
|
||||
Effect effect = new DamagePlayersEffect(2, TargetController.ANY);
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class AsylumVisitor extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Madness {1}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{1}{B}")));
|
||||
}
|
||||
|
||||
private AsylumVisitor(final AsylumVisitor card) {
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class AtarkaEfreet extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Megamorph {2}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{R}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{R}"), true));
|
||||
|
||||
// When Atarka Efreet is turned face up, it deals 1 damage to any target.
|
||||
Effect effect = new DamageTargetEffect(1, "it");
|
||||
|
|
|
@ -25,7 +25,7 @@ public final class AvacynsJudgment extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{1}{R}");
|
||||
|
||||
// Madness {X}{R}
|
||||
Ability ability = new MadnessAbility(this, new ManaCostsImpl("{X}{R}"));
|
||||
Ability ability = new MadnessAbility(new ManaCostsImpl("{X}{R}"));
|
||||
ability.setRuleAtTheTop(true);
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class AvenLiberator extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
// Morph {3}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{3}{W}")));
|
||||
// When Aven Liberator is turned face up, target creature you control gains protection from the color of your choice until end of turn.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new GainProtectionFromColorTargetEffect(Duration.EndOfTurn));
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class AvenSunstriker extends CardImpl {
|
|||
// Double strike
|
||||
this.addAbility(DoubleStrikeAbility.getInstance());
|
||||
// Megamorph {4}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{W}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{W}"), true));
|
||||
}
|
||||
|
||||
private AvenSunstriker(final AvenSunstriker card) {
|
||||
|
|
|
@ -31,7 +31,7 @@ public final class BaneOfTheLiving extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Morph {X}{B}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{X}{B}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{X}{B}{B}")));
|
||||
|
||||
// When Bane of the Living is turned face up, all creatures get -X/-X until end of turn.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new BoostAllEffect(morphX, morphX, Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_ALL_CREATURES, false, null, true)));
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class BaskingRootwalla extends CardImpl {
|
|||
new BoostSourceEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl("{1}{G}")));
|
||||
|
||||
// Madness {0}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{0}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{0}")));
|
||||
}
|
||||
|
||||
private BaskingRootwalla(final BaskingRootwalla card) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class BatteringCraghorn extends CardImpl {
|
|||
// First strike
|
||||
this.addAbility(FirstStrikeAbility.getInstance());
|
||||
// Morph {1}{R}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{R}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{1}{R}{R}")));
|
||||
}
|
||||
|
||||
private BatteringCraghorn(final BatteringCraghorn card) {
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class BelltollDragon extends CardImpl {
|
|||
// Hexproof
|
||||
this.addAbility(HexproofAbility.getInstance());
|
||||
// Megamorph {5}{U}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{5}{U}{U}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{5}{U}{U}"), true));
|
||||
|
||||
// When Belltoll Dragon is turned face up, put a +1/+1 counter on each other Dragon creature you control.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter), false, false));
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class BigGameHunter extends CardImpl {
|
|||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addAbility(ability);
|
||||
// Madness {B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{B}")));
|
||||
}
|
||||
|
||||
private BigGameHunter(final BigGameHunter card) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public final class BirchloreRangers extends CardImpl {
|
|||
new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, false))));
|
||||
|
||||
// Morph {G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{G}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{G}")));
|
||||
}
|
||||
|
||||
private BirchloreRangers(final BirchloreRangers card) {
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class BitingRain extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new BoostAllEffect(-2, -2, Duration.EndOfTurn));
|
||||
|
||||
// Madness {2}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{2}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{2}{B}")));
|
||||
}
|
||||
|
||||
private BitingRain(final BitingRain card) {
|
||||
|
|
|
@ -15,7 +15,6 @@ import mage.abilities.keyword.MadnessAbility;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TimingRule;
|
||||
import mage.game.permanent.token.GoblinToken;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
|
@ -29,7 +28,7 @@ public final class BlastFromThePast extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{2}{R}");
|
||||
|
||||
// Madness {R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{R}")));
|
||||
// Cycling {1}{R}
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl("{1}{R}")));
|
||||
// Kicker {2}{R}
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class BlazingRootwalla extends CardImpl {
|
|||
new BoostSourceEffect(2, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
|
||||
|
||||
// Madness{0}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{0}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{0}")));
|
||||
}
|
||||
|
||||
private BlazingRootwalla(final BlazingRootwalla card) {
|
||||
|
|
|
@ -35,7 +35,7 @@ public final class BlisteringFirecat extends CardImpl {
|
|||
// At the beginning of the end step, sacrifice Blistering Firecat.
|
||||
this.addAbility(new OnEventTriggeredAbility(GameEvent.EventType.END_TURN_STEP_PRE, "beginning of the end step", true, new SacrificeSourceEffect()));
|
||||
// Morph {R}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{R}{R}")));
|
||||
}
|
||||
|
||||
private BlisteringFirecat(final BlisteringFirecat card) {
|
||||
|
|
|
@ -38,7 +38,7 @@ public final class BloodhallPriest extends CardImpl {
|
|||
));
|
||||
|
||||
// Madness {1}{B}{R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{B}{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{1}{B}{R}")));
|
||||
}
|
||||
|
||||
private BloodhallPriest(final BloodhallPriest card) {
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class BloodmadVampire extends CardImpl {
|
|||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)), false));
|
||||
|
||||
// Madness {1}{R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{1}{R}")));
|
||||
}
|
||||
|
||||
private BloodmadVampire(final BloodmadVampire card) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class BloodstokeHowler extends CardImpl {
|
|||
this.toughness = new MageInt(4);
|
||||
|
||||
// Morph {6}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{6}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{6}{R}")));
|
||||
|
||||
// When Bloodstoke Howler is turned face up, Beast creatures you control get +3/+0 until end of turn.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new BoostControlledEffect(3, 0, Duration.EndOfTurn, filter)));
|
||||
|
|
|
@ -40,7 +40,7 @@ public final class Boneknitter extends CardImpl {
|
|||
ability.addTarget(new TargetPermanent(filter));
|
||||
this.addAbility(ability);
|
||||
// Morph {2}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{B}")));
|
||||
}
|
||||
|
||||
private Boneknitter(final Boneknitter card) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class BrainGorgers extends CardImpl {
|
|||
this.addAbility(new CastSourceTriggeredAbility(new BrainGorgersCounterSourceEffect()));
|
||||
|
||||
// Madness {1}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{1}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl<>("{1}{B}")));
|
||||
}
|
||||
|
||||
private BrainGorgers(final BrainGorgers card) {
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class BranchsnapLorian extends CardImpl {
|
|||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
// Morph {G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{G}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{G}")));
|
||||
}
|
||||
|
||||
private BranchsnapLorian(final BranchsnapLorian card) {
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class BrineElemental extends CardImpl {
|
|||
this.toughness = new MageInt(4);
|
||||
|
||||
// Morph {5}{U}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{5}{U}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{5}{U}{U}")));
|
||||
|
||||
// When Brine Elemental is turned face up, each opponent skips their next untap step.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new BrineElementalEffect()));
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class BrokenConcentration extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new CounterTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetSpell());
|
||||
// Madness {3}{U}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{3}{U}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{3}{U}")));
|
||||
}
|
||||
|
||||
private BrokenConcentration(final BrokenConcentration card) {
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class BroodhatchNantuko extends CardImpl {
|
|||
new CreateTokenEffect(new InsectToken(), SavedDamageValue.MANY), true));
|
||||
|
||||
// Morph {2}{G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{2}{G}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl<>("{2}{G}")));
|
||||
}
|
||||
|
||||
private BroodhatchNantuko(final BroodhatchNantuko card) {
|
||||
|
|
|
@ -17,7 +17,6 @@ import mage.filter.StaticFilters;
|
|||
import mage.game.Game;
|
||||
import mage.game.events.DamagedPlayerEvent;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.events.GameEvent.EventType;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
|
||||
/**
|
||||
|
@ -37,7 +36,7 @@ public final class CabalExecutioner extends CardImpl {
|
|||
this.addAbility(new CabalExecutionerAbility());
|
||||
|
||||
// Morph {3}{B}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{B}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{3}{B}{B}")));
|
||||
}
|
||||
|
||||
private CabalExecutioner(final CabalExecutioner card) {
|
||||
|
|
|
@ -31,7 +31,7 @@ public final class CallToTheNetherworld extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(filter));
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect());
|
||||
// Madness {0}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{0}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl<>("{0}")));
|
||||
}
|
||||
|
||||
private CallToTheNetherworld(final CallToTheNetherworld card) {
|
||||
|
|
|
@ -25,7 +25,7 @@ public final class CanyonLurkers extends CardImpl {
|
|||
this.toughness = new MageInt(2);
|
||||
|
||||
// Morph 3R
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{3}{R}")));
|
||||
}
|
||||
|
||||
private CanyonLurkers(final CanyonLurkers card) {
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class ChargingSlateback extends CardImpl {
|
|||
// Charging Slateback can't block.
|
||||
this.addAbility(new CantBlockAbility());
|
||||
// Morph {4}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{R}")));
|
||||
}
|
||||
|
||||
private ChargingSlateback(final ChargingSlateback card) {
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class ChillingGrasp extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new DontUntapInControllersNextUntapStepTargetEffect("Those creatures"));
|
||||
|
||||
// Madness {3}{U}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{3}{U}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{3}{U}")));
|
||||
}
|
||||
|
||||
private ChillingGrasp(final ChillingGrasp card) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class ChromeshellCrab extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Morph {4}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{U}")));
|
||||
|
||||
// When Chromeshell Crab is turned face up, you may exchange control of target creature you control and target creature an opponent controls.
|
||||
Effect effect = new ExchangeControlTargetEffect(Duration.EndOfGame, rule, false, true);
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class CircularLogic extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetSpell());
|
||||
|
||||
// Madness {U}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{U}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl<>("{U}")));
|
||||
}
|
||||
|
||||
private CircularLogic(final CircularLogic card) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class CoralTrickster extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Morph {U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{U}")));
|
||||
// When Coral Trickster is turned face up, you may tap or untap target permanent.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new MayTapOrUntapTargetEffect());
|
||||
ability.addTarget(new TargetPermanent());
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class CrudeRampart extends CardImpl {
|
|||
// Defender
|
||||
this.addAbility(DefenderAbility.getInstance());
|
||||
// Morph {4}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{W}")));
|
||||
}
|
||||
|
||||
private CrudeRampart(final CrudeRampart card) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public final class CurseOfFoolsWisdom extends CardImpl {
|
|||
this.addAbility(new CurseOfFoolsWisdomTriggeredAbility());
|
||||
|
||||
// Madness {3}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{3}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{3}{B}")));
|
||||
}
|
||||
|
||||
private CurseOfFoolsWisdom(final CurseOfFoolsWisdom card) {
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class DarkWithering extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
|
||||
// Madness {B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{B}")));
|
||||
}
|
||||
|
||||
private DarkWithering(final DarkWithering card) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class DaruHealer extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{W}")));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class DaruLancer extends CardImpl {
|
|||
// First strike
|
||||
this.addAbility(FirstStrikeAbility.getInstance());
|
||||
// Morph {2}{W}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{W}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{W}{W}")));
|
||||
}
|
||||
|
||||
private DaruLancer(final DaruLancer card) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class DaruMender extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Morph {W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{W}")));
|
||||
// When Daru Mender is turned face up, regenerate target creature.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new RegenerateTargetEffect());
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class DaruSanctifier extends CardImpl {
|
|||
this.toughness = new MageInt(4);
|
||||
|
||||
// Morph {1}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{1}{W}")));
|
||||
// When Daru Sanctifier is turned face up, destroy target enchantment.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new DestroyTargetEffect());
|
||||
ability.addTarget(new TargetEnchantmentPermanent());
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class DawningPurist extends CardImpl {
|
|||
this.addAbility(new DawningPuristTriggeredAbility());
|
||||
|
||||
// Morph {1}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{1}{W}")));
|
||||
}
|
||||
|
||||
private DawningPurist(final DawningPurist card) {
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class DeathmistRaptor extends CardImpl {
|
|||
this.addAbility(new TurnedFaceUpAllTriggeredAbility(Zone.GRAVEYARD, new DeathmistRaptorEffect(), new FilterControlledPermanent("a permanent you control"), false, true));
|
||||
|
||||
// Megamorph {4}{G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{G}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{G}"), true));
|
||||
}
|
||||
|
||||
private DeathmistRaptor(final DeathmistRaptor card) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class DefenderOfTheOrder extends CardImpl {
|
|||
this.toughness = new MageInt(4);
|
||||
|
||||
// Morph {W}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{W}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{W}{W}")));
|
||||
// When Defender of the Order is turned face up, creatures you control get +0/+2 until end of turn.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new BoostControlledEffect(0, 2, Duration.EndOfTurn)));
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class DenProtector extends CardImpl {
|
|||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByCreaturesWithLessPowerEffect()));
|
||||
|
||||
// Megamorph {1}{G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{G}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{1}{G}"), true));
|
||||
|
||||
// When Den Protector is turned face up, return target card from your graveyard to your hand.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new ReturnFromGraveyardToHandTargetEffect());
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class Dermoplasm extends CardImpl {
|
|||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Morph {2}{U}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{U}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{U}{U}")));
|
||||
|
||||
// When Dermoplasm is turned face up, you may put a creature card with a morph ability from your hand onto the battlefield face up. If you do, return Dermoplasm to its owner's hand.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new DermoplasmEffect()));
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class DirgurNemesis extends CardImpl {
|
|||
// Defender
|
||||
this.addAbility(DefenderAbility.getInstance());
|
||||
// Megamorph {6}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{6}{U}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{6}{U}"), true));
|
||||
}
|
||||
|
||||
private DirgurNemesis(final DirgurNemesis card) {
|
||||
|
|
|
@ -36,7 +36,7 @@ public final class DisruptivePitmage extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{U}")));
|
||||
}
|
||||
|
||||
private DisruptivePitmage(final DisruptivePitmage card) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public final class DistemperOfTheBlood extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Madness {R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{R}")));
|
||||
}
|
||||
|
||||
private DistemperOfTheBlood(final DistemperOfTheBlood card) {
|
||||
|
|
|
@ -86,7 +86,7 @@ class DjinnIlluminatusGainReplicateEffect extends ContinuousEffectImpl {
|
|||
&& !stackObject.getManaCost().isEmpty()) { //handle cases like Ancestral Vision
|
||||
Spell spell = (Spell) stackObject;
|
||||
if (filter.match(stackObject, game)) {
|
||||
ReplicateAbility replicateAbility = replicateAbilities.computeIfAbsent(spell.getId(), k -> new ReplicateAbility(spell.getCard(), spell.getSpellAbility().getManaCosts().getText()));
|
||||
ReplicateAbility replicateAbility = replicateAbilities.computeIfAbsent(spell.getId(), k -> new ReplicateAbility(spell.getSpellAbility().getManaCosts().getText()));
|
||||
game.getState().addOtherAbility(spell.getCard(), replicateAbility, false); // Do not copy because paid and # of activations state is handled in the baility
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class DragonsEyeSavants extends CardImpl {
|
|||
this.toughness = new MageInt(6);
|
||||
|
||||
// Morph - Reveal a blue card in your hand.
|
||||
this.addAbility(new MorphAbility(this, new RevealTargetFromHandCost(new TargetCardInHand(filter))));
|
||||
this.addAbility(new MorphAbility(new RevealTargetFromHandCost(new TargetCardInHand(filter))));
|
||||
|
||||
// When Dragon's Eye Savants is turned face up, look at target opponent's hand.
|
||||
Effect effect = new LookAtTargetPlayerHandEffect();
|
||||
|
|
|
@ -43,7 +43,7 @@ public final class DulcetSirens extends CardImpl {
|
|||
|
||||
|
||||
// Morph {U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{U}")));
|
||||
}
|
||||
|
||||
private DulcetSirens(final DulcetSirens card) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class DwarvenBlastminer extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{R}")));
|
||||
}
|
||||
|
||||
private DwarvenBlastminer(final DwarvenBlastminer card) {
|
||||
|
|
|
@ -36,7 +36,7 @@ public final class EbonbladeReaper extends CardImpl {
|
|||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new LoseHalfLifeTargetEffect(), false, true));
|
||||
|
||||
//Morph {3}{B}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{3}{B}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl<>("{3}{B}{B}")));
|
||||
}
|
||||
|
||||
private EbonbladeReaper(final EbonbladeReaper card) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class EchoTracer extends CardImpl {
|
|||
this.toughness = new MageInt(2);
|
||||
|
||||
// Morph {2}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{U}")));
|
||||
// When Echo Tracer is turned face up, return target creature to its owner's hand.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new ReturnToHandTargetEffect());
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
|
|
|
@ -42,7 +42,7 @@ public final class EfreetWeaponmaster extends CardImpl {
|
|||
this.addAbility(new EfreetWeaponmasterAbility());
|
||||
|
||||
// Morph {2}{U}{R}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{U}{R}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{U}{R}{W}")));
|
||||
}
|
||||
|
||||
private EfreetWeaponmaster(final EfreetWeaponmaster card) {
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class ExaltedAngel extends CardImpl {
|
|||
// Whenever Exalted Angel deals damage, you gain that much life.
|
||||
this.addAbility(new DealsDamageGainLifeSourceTriggeredAbility());
|
||||
// Morph {2}{W}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{W}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{W}{W}")));
|
||||
}
|
||||
|
||||
private ExaltedAngel(final ExaltedAngel card) {
|
||||
|
|
|
@ -114,7 +114,7 @@ class FalkenrathGorgerEffect extends ContinuousEffectImpl {
|
|||
private void addMadnessToCard(Game game, Card card, Map<UUID, MadnessAbility> usedMadnessAbilities) {
|
||||
MadnessAbility ability = madnessAbilities.get(card.getId());
|
||||
if (ability == null) {
|
||||
ability = new MadnessAbility(card, card.getSpellAbility().getManaCosts());
|
||||
ability = new MadnessAbility(card.getSpellAbility().getManaCosts());
|
||||
}
|
||||
game.getState().addOtherAbility(card, ability, false);
|
||||
usedMadnessAbilities.put(card.getId(), ability);
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class FallenCleric extends CardImpl {
|
|||
// Protection from Clerics
|
||||
this.addAbility(new ProtectionAbility(filter));
|
||||
// Morph {4}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{B}")));
|
||||
}
|
||||
|
||||
private FallenCleric(final FallenCleric card) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public final class FathomSeer extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Morph-Return two Islands you control to their owner's hand.
|
||||
this.addAbility(new MorphAbility(this, new ReturnToHandChosenControlledPermanentCost(new TargetControlledPermanent(2,2, filter, true))));
|
||||
this.addAbility(new MorphAbility(new ReturnToHandChosenControlledPermanentCost(new TargetControlledPermanent(2,2, filter, true))));
|
||||
// When Fathom Seer is turned face up, draw two cards.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new DrawCardSourceControllerEffect(2)));
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ public final class FieryTemper extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
|
||||
// Madness {R}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{R}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{R}")));
|
||||
}
|
||||
|
||||
private FieryTemper(final FieryTemper card) {
|
||||
|
|
|
@ -52,7 +52,7 @@ public final class FlamerushRider extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Dash {2}{R}{R}
|
||||
this.addAbility(new DashAbility(this, "{2}{R}{R}"));
|
||||
this.addAbility(new DashAbility("{2}{R}{R}"));
|
||||
}
|
||||
|
||||
private FlamerushRider(final FlamerushRider card) {
|
||||
|
|
|
@ -38,7 +38,7 @@ public final class FledglingMawcor extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {U}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{U}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{U}{U}")));
|
||||
}
|
||||
|
||||
private FledglingMawcor(final FledglingMawcor card) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class FoothillGuide extends CardImpl {
|
|||
// Protection from Goblins
|
||||
this.addAbility(new ProtectionAbility(filter));
|
||||
// Morph {W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{W}")));
|
||||
}
|
||||
|
||||
private FoothillGuide(final FoothillGuide card) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class FortuneThief extends CardImpl {
|
|||
// Damage that would reduce your life total to less than 1 reduces it to 1 instead.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new FortuneThiefReplacementEffect()));
|
||||
// Morph {R}{R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{R}{R}")));
|
||||
}
|
||||
|
||||
private FortuneThief(final FortuneThief card) {
|
||||
|
|
|
@ -25,7 +25,7 @@ public final class FranticPurification extends CardImpl {
|
|||
this.getSpellAbility().addTarget(new TargetEnchantmentPermanent());
|
||||
|
||||
// Madness {W}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{W}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{W}")));
|
||||
}
|
||||
|
||||
private FranticPurification(final FranticPurification card) {
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class FromUnderTheFloorboards extends CardImpl {
|
|||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{B}{B}");
|
||||
|
||||
// Madness {X}{B}{B} <i>(If you discard this card discard it into exile. When you do cast it for its madness cost or put it into your graveyard.
|
||||
Ability ability = (new MadnessAbility(this, new ManaCostsImpl("{X}{B}{B}")));
|
||||
Ability ability = (new MadnessAbility(new ManaCostsImpl("{X}{B}{B}")));
|
||||
ability.setRuleAtTheTop(true);
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public final class FrontlineStrategist extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Morph {W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{W}")));
|
||||
// When Frontline Strategist is turned face up, prevent all combat damage non-Soldier creatures would deal this turn.
|
||||
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new PreventAllDamageByAllPermanentsEffect(filter, Duration.EndOfTurn, true).setText("prevent all combat damage non-Soldier creatures would deal this turn")));
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public final class GathanRaiders extends CardImpl {
|
|||
new BoostSourceEffect(2,2,Duration.WhileOnBattlefield), HellbentCondition.instance,
|
||||
"<i>Hellbent</i> — {this} gets +2/+2 as long as you have no cards in hand")));
|
||||
// Morph-Discard a card.
|
||||
this.addAbility(new MorphAbility(this, new DiscardCardCost()));
|
||||
this.addAbility(new MorphAbility(new DiscardCardCost()));
|
||||
}
|
||||
|
||||
private GathanRaiders(final GathanRaiders card) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class GibberingDescent extends CardImpl {
|
|||
this.addAbility(new SimpleStaticAbility(new GibberingDescentSkipUpkeepEffect()).setAbilityWord(AbilityWord.HELLBENT));
|
||||
|
||||
// Madness {2}{B}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{2}{B}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl<>("{2}{B}{B}")));
|
||||
}
|
||||
|
||||
private GibberingDescent(final GibberingDescent card) {
|
||||
|
|
|
@ -64,7 +64,7 @@ public final class GiftOfDoom extends CardImpl {
|
|||
this.addAbility(ability2);
|
||||
|
||||
// Morph—Sacrifice another creature.
|
||||
this.addAbility(new MorphAbility(this, new SacrificeTargetCost(
|
||||
this.addAbility(new MorphAbility(new SacrificeTargetCost(
|
||||
new TargetControlledPermanent(filter)
|
||||
)));
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class Gigadrowse extends CardImpl {
|
|||
|
||||
|
||||
// Replicate {U}
|
||||
this.addAbility(new ReplicateAbility(this, "{U}"));
|
||||
this.addAbility(new ReplicateAbility("{U}"));
|
||||
// Tap target permanent.
|
||||
this.getSpellAbility().addEffect(new TapTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent());
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class GisasBidding extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new CreateTokenEffect(new ZombieToken(), 2));
|
||||
|
||||
// Madness {2}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{2}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{2}{B}")));
|
||||
}
|
||||
|
||||
private GisasBidding(final GisasBidding card) {
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class GlacialStalker extends CardImpl {
|
|||
this.toughness = new MageInt(5);
|
||||
|
||||
// Morph {4}{U}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{U}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{4}{U}")));
|
||||
}
|
||||
|
||||
private GlacialStalker(final GlacialStalker card) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public final class GoblinHeelcutter extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Dash {2}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)
|
||||
this.addAbility(new DashAbility(this, "{2}{R}"));
|
||||
this.addAbility(new DashAbility("{2}{R}"));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class GoblinTaskmaster extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Morph {R}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{R}")));
|
||||
}
|
||||
|
||||
private GoblinTaskmaster(final GoblinTaskmaster card) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public final class GorgonRecluse extends CardImpl {
|
|||
this.addAbility(new BlocksOrBecomesBlockedSourceTriggeredAbility(effect, StaticFilters.FILTER_PERMANENT_CREATURE_NON_BLACK, false));
|
||||
|
||||
// Madness {B}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{B}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{B}{B}")));
|
||||
}
|
||||
|
||||
private GorgonRecluse(final GorgonRecluse card) {
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class GraveScrabbler extends CardImpl {
|
|||
this.toughness = new MageInt(2);
|
||||
|
||||
//Madness {1}{B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{B}")));
|
||||
this.addAbility(new MadnessAbility(new ManaCostsImpl("{1}{B}")));
|
||||
|
||||
//When Grave Scrabbler enters the battlefield, if its madness cost was paid,
|
||||
//you may return target creature card from a graveyard to its owner's hand.
|
||||
|
|
|
@ -35,7 +35,7 @@ public final class GravelSlinger extends CardImpl {
|
|||
ability.addTarget(new TargetCreaturePermanent(new FilterAttackingOrBlockingCreature()));
|
||||
this.addAbility(ability);
|
||||
// Morph {1}{W}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{W}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{1}{W}")));
|
||||
}
|
||||
|
||||
private GravelSlinger(final GravelSlinger card) {
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class GrimHaruspex extends CardImpl {
|
|||
this.toughness = new MageInt(2);
|
||||
|
||||
// Morph {B}
|
||||
this.addAbility(new MorphAbility(this, new ColoredManaCost(ColoredManaSymbol.B)));
|
||||
this.addAbility(new MorphAbility(new ColoredManaCost(ColoredManaSymbol.B)));
|
||||
|
||||
// Whenever another nontoken creature you control dies, draw a card.
|
||||
this.addAbility(new DiesCreatureTriggeredAbility(new DrawCardSourceControllerEffect(1), false, filter));
|
||||
|
|
|
@ -28,7 +28,7 @@ public final class GrinningDemon extends CardImpl {
|
|||
// At the beginning of your upkeep, you lose 2 life.
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new LoseLifeSourceControllerEffect(2), TargetController.YOU, false));
|
||||
// Morph {2}{B}{B}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{B}{B}")));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{2}{B}{B}")));
|
||||
}
|
||||
|
||||
private GrinningDemon(final GrinningDemon card) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class GuardianShieldBearer extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Megamorph {3}{G}
|
||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{G}"), true));
|
||||
this.addAbility(new MorphAbility(new ManaCostsImpl("{3}{G}"), true));
|
||||
|
||||
// When Guardian Shield-Bearer is turned face up, put a +1/+1 counter on another target creature you control.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()), false);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue