mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Refactoring: CamelCase name for classes. (part 1)
This commit is contained in:
parent
40ca005ec3
commit
d976d73040
92 changed files with 560 additions and 583 deletions
|
@ -45,9 +45,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GloryofWarfare extends CardImpl<GloryofWarfare> {
|
public class GloryOfWarfare extends CardImpl<GloryOfWarfare> {
|
||||||
|
|
||||||
public GloryofWarfare (UUID ownerId) {
|
public GloryOfWarfare (UUID ownerId) {
|
||||||
super(ownerId, 98, "Glory of Warfare", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{R}{W}");
|
super(ownerId, 98, "Glory of Warfare", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{R}{W}");
|
||||||
this.expansionSetCode = "ARB";
|
this.expansionSetCode = "ARB";
|
||||||
this.color.setRed(true);
|
this.color.setRed(true);
|
||||||
|
@ -56,12 +56,12 @@ public class GloryofWarfare extends CardImpl<GloryofWarfare> {
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(new BoostControlledEffect(0, 2, Duration.EndOfTurn), NotMyTurn.getInstance(), "As long as it's not your turn, creatures you control get +0/+2")));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(new BoostControlledEffect(0, 2, Duration.EndOfTurn), NotMyTurn.getInstance(), "As long as it's not your turn, creatures you control get +0/+2")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public GloryofWarfare (final GloryofWarfare card) {
|
public GloryOfWarfare (final GloryOfWarfare card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GloryofWarfare copy() {
|
public GloryOfWarfare copy() {
|
||||||
return new GloryofWarfare(this);
|
return new GloryOfWarfare(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -44,9 +44,9 @@ import mage.counters.CounterType;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class JenaraAsuraofWar extends CardImpl<JenaraAsuraofWar> {
|
public class JenaraAsuraOfWar extends CardImpl<JenaraAsuraOfWar> {
|
||||||
|
|
||||||
public JenaraAsuraofWar (UUID ownerId) {
|
public JenaraAsuraOfWar (UUID ownerId) {
|
||||||
super(ownerId, 128, "Jenara, Asura of War", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{G}{W}{U}");
|
super(ownerId, 128, "Jenara, Asura of War", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{G}{W}{U}");
|
||||||
this.expansionSetCode = "ARB";
|
this.expansionSetCode = "ARB";
|
||||||
this.subtype.add("Angel");
|
this.subtype.add("Angel");
|
||||||
|
@ -60,13 +60,13 @@ public class JenaraAsuraofWar extends CardImpl<JenaraAsuraofWar> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl("{1}{W}")));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl("{1}{W}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public JenaraAsuraofWar (final JenaraAsuraofWar card) {
|
public JenaraAsuraOfWar (final JenaraAsuraOfWar card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public JenaraAsuraofWar copy() {
|
public JenaraAsuraOfWar copy() {
|
||||||
return new JenaraAsuraofWar(this);
|
return new JenaraAsuraOfWar(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -52,7 +52,7 @@ import mage.target.TargetPlayer;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class LichLordofUnx extends CardImpl<LichLordofUnx> {
|
public class LichLordOfUnx extends CardImpl<LichLordOfUnx> {
|
||||||
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("Zombies you control");
|
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("Zombies you control");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -60,7 +60,7 @@ public class LichLordofUnx extends CardImpl<LichLordofUnx> {
|
||||||
filter.setScopeSubtype(Filter.ComparisonScope.Any);
|
filter.setScopeSubtype(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public LichLordofUnx (UUID ownerId) {
|
public LichLordOfUnx (UUID ownerId) {
|
||||||
super(ownerId, 24, "Lich Lord of Unx", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{1}{U}{B}");
|
super(ownerId, 24, "Lich Lord of Unx", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{1}{U}{B}");
|
||||||
this.expansionSetCode = "ARB";
|
this.expansionSetCode = "ARB";
|
||||||
this.subtype.add("Zombie");
|
this.subtype.add("Zombie");
|
||||||
|
@ -80,13 +80,13 @@ public class LichLordofUnx extends CardImpl<LichLordofUnx> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public LichLordofUnx (final LichLordofUnx card) {
|
public LichLordOfUnx (final LichLordOfUnx card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LichLordofUnx copy() {
|
public LichLordOfUnx copy() {
|
||||||
return new LichLordofUnx(this);
|
return new LichLordOfUnx(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -47,9 +47,9 @@ import mage.target.targetpointer.FixedTarget;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class NemesisofReason extends CardImpl<NemesisofReason> {
|
public class NemesisOfReason extends CardImpl<NemesisOfReason> {
|
||||||
|
|
||||||
public NemesisofReason (UUID ownerId) {
|
public NemesisOfReason (UUID ownerId) {
|
||||||
super(ownerId, 28, "Nemesis of Reason", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{U}{B}");
|
super(ownerId, 28, "Nemesis of Reason", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{U}{B}");
|
||||||
this.expansionSetCode = "ARB";
|
this.expansionSetCode = "ARB";
|
||||||
this.subtype.add("Leviathan");
|
this.subtype.add("Leviathan");
|
||||||
|
@ -61,13 +61,13 @@ public class NemesisofReason extends CardImpl<NemesisofReason> {
|
||||||
this.addAbility(new NemesisofReasonTriggeredAbility());
|
this.addAbility(new NemesisofReasonTriggeredAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public NemesisofReason (final NemesisofReason card) {
|
public NemesisOfReason (final NemesisOfReason card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public NemesisofReason copy() {
|
public NemesisOfReason copy() {
|
||||||
return new NemesisofReason(this);
|
return new NemesisOfReason(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ import mage.filter.FilterCard;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SphinxoftheSteelWind extends CardImpl<SphinxoftheSteelWind> {
|
public class SphinxOfTheSteelWind extends CardImpl<SphinxOfTheSteelWind> {
|
||||||
private static FilterCard filter = new FilterCard("red and from green");
|
private static FilterCard filter = new FilterCard("red and from green");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -53,7 +53,7 @@ public class SphinxoftheSteelWind extends CardImpl<SphinxoftheSteelWind> {
|
||||||
filter.setScopeColor(Filter.ComparisonScope.Any);
|
filter.setScopeColor(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SphinxoftheSteelWind (UUID ownerId) {
|
public SphinxOfTheSteelWind (UUID ownerId) {
|
||||||
super(ownerId, 110, "Sphinx of the Steel Wind", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}{W}{U}{B}");
|
super(ownerId, 110, "Sphinx of the Steel Wind", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}{W}{U}{B}");
|
||||||
this.expansionSetCode = "ARB";
|
this.expansionSetCode = "ARB";
|
||||||
this.subtype.add("Sphinx");
|
this.subtype.add("Sphinx");
|
||||||
|
@ -69,13 +69,13 @@ public class SphinxoftheSteelWind extends CardImpl<SphinxoftheSteelWind> {
|
||||||
this.addAbility(new ProtectionAbility(filter));
|
this.addAbility(new ProtectionAbility(filter));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SphinxoftheSteelWind (final SphinxoftheSteelWind card) {
|
public SphinxOfTheSteelWind (final SphinxOfTheSteelWind card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SphinxoftheSteelWind copy() {
|
public SphinxOfTheSteelWind copy() {
|
||||||
return new SphinxoftheSteelWind(this);
|
return new SphinxOfTheSteelWind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -43,9 +43,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class WallofDenial extends CardImpl<WallofDenial> {
|
public class WallOfDenial extends CardImpl<WallOfDenial> {
|
||||||
|
|
||||||
public WallofDenial (UUID ownerId) {
|
public WallOfDenial (UUID ownerId) {
|
||||||
super(ownerId, 16, "Wall of Denial", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{W}{U}");
|
super(ownerId, 16, "Wall of Denial", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{W}{U}");
|
||||||
this.expansionSetCode = "ARB";
|
this.expansionSetCode = "ARB";
|
||||||
this.subtype.add("Wall");
|
this.subtype.add("Wall");
|
||||||
|
@ -58,13 +58,13 @@ public class WallofDenial extends CardImpl<WallofDenial> {
|
||||||
this.addAbility(ShroudAbility.getInstance());
|
this.addAbility(ShroudAbility.getInstance());
|
||||||
}
|
}
|
||||||
|
|
||||||
public WallofDenial (final WallofDenial card) {
|
public WallOfDenial (final WallOfDenial card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WallofDenial copy() {
|
public WallOfDenial copy() {
|
||||||
return new WallofDenial(this);
|
return new WallOfDenial(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -46,7 +46,7 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class BlindwithAnger extends CardImpl<BlindwithAnger> {
|
public class BlindWithAnger extends CardImpl<BlindWithAnger> {
|
||||||
|
|
||||||
private final static FilterCreaturePermanent filter = new FilterCreaturePermanent("nonlegendary creature");
|
private final static FilterCreaturePermanent filter = new FilterCreaturePermanent("nonlegendary creature");
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ public class BlindwithAnger extends CardImpl<BlindwithAnger> {
|
||||||
filter.setScopeSupertype(Filter.ComparisonScope.Any);
|
filter.setScopeSupertype(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public BlindwithAnger(UUID ownerId) {
|
public BlindWithAnger(UUID ownerId) {
|
||||||
super(ownerId, 158, "Blind with Anger", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
super(ownerId, 158, "Blind with Anger", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||||
this.expansionSetCode = "CHK";
|
this.expansionSetCode = "CHK";
|
||||||
this.subtype.add("Arcane");
|
this.subtype.add("Arcane");
|
||||||
|
@ -68,13 +68,13 @@ public class BlindwithAnger extends CardImpl<BlindwithAnger> {
|
||||||
this.getSpellAbility().addTarget(target);
|
this.getSpellAbility().addTarget(target);
|
||||||
}
|
}
|
||||||
|
|
||||||
public BlindwithAnger(final BlindwithAnger card) {
|
public BlindWithAnger(final BlindWithAnger card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlindwithAnger copy() {
|
public BlindWithAnger copy() {
|
||||||
return new BlindwithAnger(this);
|
return new BlindWithAnger(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -43,7 +43,7 @@ import mage.filter.FilterCard;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SireoftheStorm extends CardImpl<SireoftheStorm> {
|
public class SireOfTheStorm extends CardImpl<SireOfTheStorm> {
|
||||||
|
|
||||||
private final static FilterCard filter = new FilterCard("a Spirit or Arcane spell");
|
private final static FilterCard filter = new FilterCard("a Spirit or Arcane spell");
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ public class SireoftheStorm extends CardImpl<SireoftheStorm> {
|
||||||
filter.setScopeSubtype(Filter.ComparisonScope.Any);
|
filter.setScopeSubtype(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SireoftheStorm(UUID ownerId) {
|
public SireOfTheStorm(UUID ownerId) {
|
||||||
super(ownerId, 85, "Sire of the Storm", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{4}{U}{U}");
|
super(ownerId, 85, "Sire of the Storm", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{4}{U}{U}");
|
||||||
this.expansionSetCode = "CHK";
|
this.expansionSetCode = "CHK";
|
||||||
this.subtype.add("Spirit");
|
this.subtype.add("Spirit");
|
||||||
|
@ -65,13 +65,13 @@ public class SireoftheStorm extends CardImpl<SireoftheStorm> {
|
||||||
this.addAbility(new SpellCastTriggeredAbility(new DrawCardControllerEffect(1), filter, true));
|
this.addAbility(new SpellCastTriggeredAbility(new DrawCardControllerEffect(1), filter, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SireoftheStorm(final SireoftheStorm card) {
|
public SireOfTheStorm(final SireOfTheStorm card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SireoftheStorm copy() {
|
public SireOfTheStorm copy() {
|
||||||
return new SireoftheStorm(this);
|
return new SireOfTheStorm(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -41,7 +41,7 @@ import mage.target.common.TargetCardInLibrary;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TimeofNeed extends CardImpl<TimeofNeed> {
|
public class TimeOfNeed extends CardImpl<TimeOfNeed> {
|
||||||
|
|
||||||
private final static FilterCard filter = new FilterCard("legendary creature card");
|
private final static FilterCard filter = new FilterCard("legendary creature card");
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ public class TimeofNeed extends CardImpl<TimeofNeed> {
|
||||||
filter.setScopeSupertype(Filter.ComparisonScope.Any);
|
filter.setScopeSupertype(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeofNeed(UUID ownerId) {
|
public TimeOfNeed(UUID ownerId) {
|
||||||
super(ownerId, 247, "Time of Need", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{G}");
|
super(ownerId, 247, "Time of Need", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{G}");
|
||||||
this.expansionSetCode = "CHK";
|
this.expansionSetCode = "CHK";
|
||||||
this.color.setGreen(true);
|
this.color.setGreen(true);
|
||||||
|
@ -60,13 +60,13 @@ public class TimeofNeed extends CardImpl<TimeofNeed> {
|
||||||
this.getSpellAbility().addEffect(new SearchLibraryRevealPutInHandEffect(target));
|
this.getSpellAbility().addEffect(new SearchLibraryRevealPutInHandEffect(target));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeofNeed(final TimeofNeed card) {
|
public TimeOfNeed(final TimeOfNeed card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TimeofNeed copy() {
|
public TimeOfNeed copy() {
|
||||||
return new TimeofNeed(this);
|
return new TimeOfNeed(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -50,9 +50,9 @@ import mage.target.common.TargetControlledCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class WallofReverence extends CardImpl<WallofReverence> {
|
public class WallOfReverence extends CardImpl<WallOfReverence> {
|
||||||
|
|
||||||
public WallofReverence (UUID ownerId) {
|
public WallOfReverence (UUID ownerId) {
|
||||||
super(ownerId, 20, "Wall of Reverence", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
super(ownerId, 20, "Wall of Reverence", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||||
this.expansionSetCode = "CON";
|
this.expansionSetCode = "CON";
|
||||||
this.subtype.add("Spirit");
|
this.subtype.add("Spirit");
|
||||||
|
@ -65,13 +65,13 @@ public class WallofReverence extends CardImpl<WallofReverence> {
|
||||||
this.addAbility(new WallofReverenceTriggeredAbility());
|
this.addAbility(new WallofReverenceTriggeredAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public WallofReverence (final WallofReverence card) {
|
public WallOfReverence (final WallOfReverence card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WallofReverence copy() {
|
public WallOfReverence copy() {
|
||||||
return new WallofReverence(this);
|
return new WallOfReverence(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,7 @@ import mage.target.common.TargetCreatureOrPlayer;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SwordofFireandIce extends CardImpl<SwordofFireandIce> {
|
public class SwordOfFireAndIce extends CardImpl<SwordOfFireAndIce> {
|
||||||
|
|
||||||
private static FilterCard filter = new FilterCard("red and from blue");
|
private static FilterCard filter = new FilterCard("red and from blue");
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ public class SwordofFireandIce extends CardImpl<SwordofFireandIce> {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public SwordofFireandIce(UUID ownerId) {
|
public SwordOfFireAndIce(UUID ownerId) {
|
||||||
super(ownerId, 148, "Sword of Fire and Ice", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 148, "Sword of Fire and Ice", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "DST";
|
this.expansionSetCode = "DST";
|
||||||
this.subtype.add("Equipment");
|
this.subtype.add("Equipment");
|
||||||
|
@ -76,13 +76,13 @@ public class SwordofFireandIce extends CardImpl<SwordofFireandIce> {
|
||||||
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofFireandIce(final SwordofFireandIce card) {
|
public SwordOfFireAndIce(final SwordOfFireAndIce card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SwordofFireandIce copy() {
|
public SwordOfFireAndIce copy() {
|
||||||
return new SwordofFireandIce(this);
|
return new SwordOfFireAndIce(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -59,7 +59,7 @@ import mage.target.common.TargetCreatureOrPlayer;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SwordofLightandShadow extends CardImpl<SwordofLightandShadow> {
|
public class SwordOfLightAndShadow extends CardImpl<SwordOfLightAndShadow> {
|
||||||
|
|
||||||
private static FilterCard filter = new FilterCard("white and from black");
|
private static FilterCard filter = new FilterCard("white and from black");
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ public class SwordofLightandShadow extends CardImpl<SwordofLightandShadow> {
|
||||||
filter.setScopeColor(Filter.ComparisonScope.Any);
|
filter.setScopeColor(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofLightandShadow(UUID ownerId) {
|
public SwordOfLightAndShadow(UUID ownerId) {
|
||||||
super(ownerId, 149, "Sword of Light and Shadow", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 149, "Sword of Light and Shadow", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "DST";
|
this.expansionSetCode = "DST";
|
||||||
this.subtype.add("Equipment");
|
this.subtype.add("Equipment");
|
||||||
|
@ -80,13 +80,13 @@ public class SwordofLightandShadow extends CardImpl<SwordofLightandShadow> {
|
||||||
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofLightandShadow(final SwordofLightandShadow card) {
|
public SwordOfLightAndShadow(final SwordOfLightAndShadow card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SwordofLightandShadow copy() {
|
public SwordOfLightAndShadow copy() {
|
||||||
return new SwordofLightandShadow(this);
|
return new SwordOfLightAndShadow(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -48,7 +48,7 @@ import mage.target.common.TargetControlledPermanent;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class WandoftheElements extends CardImpl<WandoftheElements> {
|
public class WandOfTheElements extends CardImpl<WandOfTheElements> {
|
||||||
|
|
||||||
private static final FilterControlledPermanent islandFilter = new FilterControlledPermanent("an Island");
|
private static final FilterControlledPermanent islandFilter = new FilterControlledPermanent("an Island");
|
||||||
private static final FilterControlledPermanent mountainFilter = new FilterControlledPermanent("a Mountain");
|
private static final FilterControlledPermanent mountainFilter = new FilterControlledPermanent("a Mountain");
|
||||||
|
@ -58,7 +58,7 @@ public class WandoftheElements extends CardImpl<WandoftheElements> {
|
||||||
mountainFilter.getName().add("Mountain");
|
mountainFilter.getName().add("Mountain");
|
||||||
}
|
}
|
||||||
|
|
||||||
public WandoftheElements(UUID ownerId) {
|
public WandOfTheElements(UUID ownerId) {
|
||||||
super(ownerId, 158, "Wand of the Elements", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 158, "Wand of the Elements", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "DST";
|
this.expansionSetCode = "DST";
|
||||||
Ability firstAbility = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CreateTokenEffect(new WandoftheElementsFirstToken()), new TapSourceCost());
|
Ability firstAbility = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CreateTokenEffect(new WandoftheElementsFirstToken()), new TapSourceCost());
|
||||||
|
@ -70,13 +70,13 @@ public class WandoftheElements extends CardImpl<WandoftheElements> {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public WandoftheElements(final WandoftheElements card) {
|
public WandOfTheElements(final WandOfTheElements card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WandoftheElements copy() {
|
public WandOfTheElements copy() {
|
||||||
return new WandoftheElements(this);
|
return new WandOfTheElements(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,9 +34,9 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ElixirofImmortality extends mage.sets.magic2011.ElixirOfImmortality {
|
public class ElixirOfImmortality extends mage.sets.magic2011.ElixirOfImmortality {
|
||||||
|
|
||||||
public ElixirofImmortality (UUID ownerId) {
|
public ElixirOfImmortality (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 62;
|
this.cardNumber = 62;
|
||||||
this.expansionSetCode = "DDF";
|
this.expansionSetCode = "DDF";
|
||||||
|
@ -44,13 +44,13 @@ public class ElixirofImmortality extends mage.sets.magic2011.ElixirOfImmortality
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ElixirofImmortality (final ElixirofImmortality card) {
|
public ElixirOfImmortality (final ElixirOfImmortality card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ElixirofImmortality copy() {
|
public ElixirOfImmortality copy() {
|
||||||
return new ElixirofImmortality(this);
|
return new ElixirOfImmortality(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,21 +34,21 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class JourneytoNowhere extends mage.sets.zendikar.JourneytoNowhere {
|
public class JourneyToNowhere extends mage.sets.zendikar.JourneyToNowhere {
|
||||||
|
|
||||||
public JourneytoNowhere (UUID ownerId) {
|
public JourneyToNowhere (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 23;
|
this.cardNumber = 23;
|
||||||
this.expansionSetCode = "DDF";
|
this.expansionSetCode = "DDF";
|
||||||
}
|
}
|
||||||
|
|
||||||
public JourneytoNowhere (final JourneytoNowhere card) {
|
public JourneyToNowhere (final JourneyToNowhere card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public JourneytoNowhere copy() {
|
public JourneyToNowhere copy() {
|
||||||
return new JourneytoNowhere(this);
|
return new JourneyToNowhere(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -37,21 +37,21 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class RaisetheAlarm extends mage.sets.mirrodin.RaisetheAlarm {
|
public class RaiseTheAlarm extends mage.sets.mirrodin.RaiseTheAlarm {
|
||||||
|
|
||||||
public RaisetheAlarm (UUID ownerId) {
|
public RaiseTheAlarm (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.expansionSetCode = "DDF";
|
this.expansionSetCode = "DDF";
|
||||||
this.cardNumber = 25;
|
this.cardNumber = 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
public RaisetheAlarm (final RaisetheAlarm card) {
|
public RaiseTheAlarm (final RaiseTheAlarm card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RaisetheAlarm copy() {
|
public RaiseTheAlarm copy() {
|
||||||
return new RaisetheAlarm(this);
|
return new RaiseTheAlarm(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -29,29 +29,26 @@
|
||||||
package mage.sets.elspethvstezzeret;
|
package mage.sets.elspethvstezzeret;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.Constants.CardType;
|
|
||||||
import mage.Constants.Rarity;
|
|
||||||
import mage.cards.CardImpl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SeatoftheSynod extends mage.sets.mirrodin.SeatoftheSynod {
|
public class SeatOfTheSynod extends mage.sets.mirrodin.SeatOfTheSynod {
|
||||||
|
|
||||||
public SeatoftheSynod (UUID ownerId) {
|
public SeatOfTheSynod (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 74;
|
this.cardNumber = 74;
|
||||||
this.expansionSetCode = "DDF";
|
this.expansionSetCode = "DDF";
|
||||||
}
|
}
|
||||||
|
|
||||||
public SeatoftheSynod (final SeatoftheSynod card) {
|
public SeatOfTheSynod (final SeatOfTheSynod card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SeatoftheSynod copy() {
|
public SeatOfTheSynod copy() {
|
||||||
return new SeatoftheSynod(this);
|
return new SeatOfTheSynod(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -49,9 +49,9 @@ import mage.players.Player;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class DivinityofPride extends CardImpl<DivinityofPride> {
|
public class DivinityOfPride extends CardImpl<DivinityOfPride> {
|
||||||
|
|
||||||
public DivinityofPride (UUID ownerId) {
|
public DivinityOfPride (UUID ownerId) {
|
||||||
super(ownerId, 86, "Divinity of Pride", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W/B}{W/B}{W/B}{W/B}{W/B}");
|
super(ownerId, 86, "Divinity of Pride", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W/B}{W/B}{W/B}{W/B}{W/B}");
|
||||||
this.expansionSetCode = "EVE";
|
this.expansionSetCode = "EVE";
|
||||||
this.subtype.add("Spirit");
|
this.subtype.add("Spirit");
|
||||||
|
@ -65,13 +65,13 @@ public class DivinityofPride extends CardImpl<DivinityofPride> {
|
||||||
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new ConditionalContinousEffect(new BoostSourceEffect(4, 4, Constants.Duration.WhileOnBattlefield), new DivinityofPrideCondition(), "Divinity of Pride gets +4/+4 as long as you have 25 or more life")));
|
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new ConditionalContinousEffect(new BoostSourceEffect(4, 4, Constants.Duration.WhileOnBattlefield), new DivinityofPrideCondition(), "Divinity of Pride gets +4/+4 as long as you have 25 or more life")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public DivinityofPride (final DivinityofPride card) {
|
public DivinityOfPride (final DivinityOfPride card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DivinityofPride copy() {
|
public DivinityOfPride copy() {
|
||||||
return new DivinityofPride(this);
|
return new DivinityOfPride(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -55,9 +55,9 @@ import mage.target.common.TargetOpponent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GhostCouncilofOrzhova extends CardImpl<GhostCouncilofOrzhova> {
|
public class GhostCouncilOfOrzhova extends CardImpl<GhostCouncilOfOrzhova> {
|
||||||
|
|
||||||
public GhostCouncilofOrzhova (UUID ownerId) {
|
public GhostCouncilOfOrzhova (UUID ownerId) {
|
||||||
super(ownerId, 114, "Ghost Council of Orzhova", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W}{W}{B}{B}");
|
super(ownerId, 114, "Ghost Council of Orzhova", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W}{W}{B}{B}");
|
||||||
this.expansionSetCode = "GPT";
|
this.expansionSetCode = "GPT";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -74,13 +74,13 @@ public class GhostCouncilofOrzhova extends CardImpl<GhostCouncilofOrzhova> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GhostCouncilofOrzhova (final GhostCouncilofOrzhova card) {
|
public GhostCouncilOfOrzhova (final GhostCouncilOfOrzhova card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GhostCouncilofOrzhova copy() {
|
public GhostCouncilOfOrzhova copy() {
|
||||||
return new GhostCouncilofOrzhova(this);
|
return new GhostCouncilOfOrzhova(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,21 +34,21 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class DragonSClaw extends mage.sets.tenth.DragonsClaw {
|
public class DragonsClaw extends mage.sets.tenth.DragonsClaw {
|
||||||
|
|
||||||
public DragonSClaw (UUID ownerId) {
|
public DragonsClaw (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 206;
|
this.cardNumber = 206;
|
||||||
this.expansionSetCode = "M12";
|
this.expansionSetCode = "M12";
|
||||||
}
|
}
|
||||||
|
|
||||||
public DragonSClaw (final DragonSClaw card) {
|
public DragonsClaw (final DragonsClaw card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DragonSClaw copy() {
|
public DragonsClaw copy() {
|
||||||
return new DragonSClaw(this);
|
return new DragonsClaw(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -39,22 +39,22 @@ import mage.game.permanent.token.SoldierToken;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class RaisetheAlarm extends CardImpl<RaisetheAlarm> {
|
public class RaiseTheAlarm extends CardImpl<RaiseTheAlarm> {
|
||||||
|
|
||||||
public RaisetheAlarm (UUID ownerId) {
|
public RaiseTheAlarm (UUID ownerId) {
|
||||||
super(ownerId, 16, "Raise the Alarm", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
super(ownerId, 16, "Raise the Alarm", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
this.color.setWhite(true);
|
this.color.setWhite(true);
|
||||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new SoldierToken(), 2));
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new SoldierToken(), 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public RaisetheAlarm (final RaisetheAlarm card) {
|
public RaiseTheAlarm (final RaiseTheAlarm card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RaisetheAlarm copy() {
|
public RaiseTheAlarm copy() {
|
||||||
return new RaisetheAlarm(this);
|
return new RaiseTheAlarm(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -38,21 +38,21 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SeatoftheSynod extends CardImpl<SeatoftheSynod> {
|
public class SeatOfTheSynod extends CardImpl<SeatOfTheSynod> {
|
||||||
|
|
||||||
public SeatoftheSynod (UUID ownerId) {
|
public SeatOfTheSynod (UUID ownerId) {
|
||||||
super(ownerId, 283, "Seat of the Synod", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
|
super(ownerId, 283, "Seat of the Synod", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
this.addAbility(new BlueManaAbility());
|
this.addAbility(new BlueManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public SeatoftheSynod (final SeatoftheSynod card) {
|
public SeatOfTheSynod (final SeatOfTheSynod card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SeatoftheSynod copy() {
|
public SeatOfTheSynod copy() {
|
||||||
return new SeatoftheSynod(this);
|
return new SeatOfTheSynod(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -45,9 +45,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TowerofChampions extends CardImpl<TowerofChampions> {
|
public class TowerOfChampions extends CardImpl<TowerOfChampions> {
|
||||||
|
|
||||||
public TowerofChampions (UUID ownerId) {
|
public TowerOfChampions (UUID ownerId) {
|
||||||
super(ownerId, 265, "Tower of Champions", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 265, "Tower of Champions", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new BoostTargetEffect(6, 6, Constants.Duration.EndOfTurn), new GenericManaCost(8));
|
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new BoostTargetEffect(6, 6, Constants.Duration.EndOfTurn), new GenericManaCost(8));
|
||||||
|
@ -56,13 +56,13 @@ public class TowerofChampions extends CardImpl<TowerofChampions> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TowerofChampions (final TowerofChampions card) {
|
public TowerOfChampions (final TowerOfChampions card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TowerofChampions copy() {
|
public TowerOfChampions copy() {
|
||||||
return new TowerofChampions(this);
|
return new TowerOfChampions(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -44,9 +44,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TowerofEons extends CardImpl<TowerofEons> {
|
public class TowerOfEons extends CardImpl<TowerOfEons> {
|
||||||
|
|
||||||
public TowerofEons (UUID ownerId) {
|
public TowerOfEons (UUID ownerId) {
|
||||||
super(ownerId, 266, "Tower of Eons", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 266, "Tower of Eons", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new GainLifeEffect(10), new GenericManaCost(8));
|
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new GainLifeEffect(10), new GenericManaCost(8));
|
||||||
|
@ -54,13 +54,13 @@ public class TowerofEons extends CardImpl<TowerofEons> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TowerofEons (final TowerofEons card) {
|
public TowerOfEons (final TowerOfEons card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TowerofEons copy() {
|
public TowerOfEons copy() {
|
||||||
return new TowerofEons(this);
|
return new TowerOfEons(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -44,9 +44,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TowerofFortunes extends CardImpl<TowerofFortunes> {
|
public class TowerOfFortunes extends CardImpl<TowerOfFortunes> {
|
||||||
|
|
||||||
public TowerofFortunes (UUID ownerId) {
|
public TowerOfFortunes (UUID ownerId) {
|
||||||
super(ownerId, 267, "Tower of Fortunes", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 267, "Tower of Fortunes", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new DrawCardControllerEffect(4), new GenericManaCost(8));
|
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new DrawCardControllerEffect(4), new GenericManaCost(8));
|
||||||
|
@ -54,13 +54,13 @@ public class TowerofFortunes extends CardImpl<TowerofFortunes> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TowerofFortunes (final TowerofFortunes card) {
|
public TowerOfFortunes (final TowerOfFortunes card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TowerofFortunes copy() {
|
public TowerOfFortunes copy() {
|
||||||
return new TowerofFortunes(this);
|
return new TowerOfFortunes(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -45,9 +45,9 @@ import mage.target.TargetPlayer;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TowerofMurmurs extends CardImpl<TowerofMurmurs> {
|
public class TowerOfMurmurs extends CardImpl<TowerOfMurmurs> {
|
||||||
|
|
||||||
public TowerofMurmurs (UUID ownerId) {
|
public TowerOfMurmurs (UUID ownerId) {
|
||||||
super(ownerId, 268, "Tower of Murmurs", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 268, "Tower of Murmurs", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(8), new GenericManaCost(8));
|
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(8), new GenericManaCost(8));
|
||||||
|
@ -56,13 +56,13 @@ public class TowerofMurmurs extends CardImpl<TowerofMurmurs> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TowerofMurmurs (final TowerofMurmurs card) {
|
public TowerOfMurmurs (final TowerOfMurmurs card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TowerofMurmurs copy() {
|
public TowerOfMurmurs copy() {
|
||||||
return new TowerofMurmurs(this);
|
return new TowerOfMurmurs(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -38,21 +38,21 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TreeofTales extends CardImpl<TreeofTales> {
|
public class TreeOfTales extends CardImpl<TreeOfTales> {
|
||||||
|
|
||||||
public TreeofTales (UUID ownerId) {
|
public TreeOfTales (UUID ownerId) {
|
||||||
super(ownerId, 285, "Tree of Tales", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
|
super(ownerId, 285, "Tree of Tales", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
this.addAbility(new GreenManaAbility());
|
this.addAbility(new GreenManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public TreeofTales (final TreeofTales card) {
|
public TreeOfTales (final TreeOfTales card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TreeofTales copy() {
|
public TreeOfTales copy() {
|
||||||
return new TreeofTales(this);
|
return new TreeOfTales(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -38,21 +38,21 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class VaultofWhispers extends CardImpl<VaultofWhispers> {
|
public class VaultOfWhispers extends CardImpl<VaultOfWhispers> {
|
||||||
|
|
||||||
public VaultofWhispers (UUID ownerId) {
|
public VaultOfWhispers (UUID ownerId) {
|
||||||
super(ownerId, 286, "Vault of Whispers", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
|
super(ownerId, 286, "Vault of Whispers", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
|
||||||
this.expansionSetCode = "MRD";
|
this.expansionSetCode = "MRD";
|
||||||
this.addAbility(new BlackManaAbility());
|
this.addAbility(new BlackManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public VaultofWhispers (final VaultofWhispers card) {
|
public VaultOfWhispers (final VaultOfWhispers card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VaultofWhispers copy() {
|
public VaultOfWhispers copy() {
|
||||||
return new VaultofWhispers(this);
|
return new VaultOfWhispers(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -40,9 +40,9 @@ import mage.target.TargetSpell;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class FuelfortheCause extends CardImpl<FuelfortheCause> {
|
public class FuelForTheCause extends CardImpl<FuelForTheCause> {
|
||||||
|
|
||||||
public FuelfortheCause (UUID ownerId) {
|
public FuelForTheCause (UUID ownerId) {
|
||||||
super(ownerId, 25, "Fuel for the Cause", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
|
super(ownerId, 25, "Fuel for the Cause", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.color.setBlue(true);
|
this.color.setBlue(true);
|
||||||
|
@ -51,13 +51,13 @@ public class FuelfortheCause extends CardImpl<FuelfortheCause> {
|
||||||
this.getSpellAbility().addEffect(new ProliferateEffect());
|
this.getSpellAbility().addEffect(new ProliferateEffect());
|
||||||
}
|
}
|
||||||
|
|
||||||
public FuelfortheCause (final FuelfortheCause card) {
|
public FuelForTheCause (final FuelForTheCause card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FuelfortheCause copy() {
|
public FuelForTheCause copy() {
|
||||||
return new FuelfortheCause(this);
|
return new FuelForTheCause(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -51,8 +51,8 @@ import mage.target.common.TargetCardInYourGraveyard;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GlissatheTraitor extends CardImpl<GlissatheTraitor> {
|
public class GlissaTheTraitor extends CardImpl<GlissaTheTraitor> {
|
||||||
public GlissatheTraitor (UUID ownerId) {
|
public GlissaTheTraitor (UUID ownerId) {
|
||||||
super(ownerId, 96, "Glissa, the Traitor", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{B}{G}{G}");
|
super(ownerId, 96, "Glissa, the Traitor", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{B}{G}{G}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -64,40 +64,40 @@ public class GlissatheTraitor extends CardImpl<GlissatheTraitor> {
|
||||||
this.toughness = new MageInt(3);
|
this.toughness = new MageInt(3);
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
this.addAbility(DeathtouchAbility.getInstance());
|
this.addAbility(DeathtouchAbility.getInstance());
|
||||||
this.addAbility(new GlissatheTraitorTriggeredAbility());
|
this.addAbility(new GlissaTheTraitorTriggeredAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public GlissatheTraitor (final GlissatheTraitor card) {
|
public GlissaTheTraitor (final GlissaTheTraitor card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GlissatheTraitor copy() {
|
public GlissaTheTraitor copy() {
|
||||||
return new GlissatheTraitor(this);
|
return new GlissaTheTraitor(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class GlissatheTraitorTriggeredAbility extends TriggeredAbilityImpl<GlissatheTraitorTriggeredAbility> {
|
class GlissaTheTraitorTriggeredAbility extends TriggeredAbilityImpl<GlissaTheTraitorTriggeredAbility> {
|
||||||
private static FilterCard filter = new FilterCard("artifact card");
|
private static final FilterCard filter = new FilterCard("artifact card");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.getCardType().add(CardType.ARTIFACT);
|
filter.getCardType().add(CardType.ARTIFACT);
|
||||||
filter.setScopeCardType(Filter.ComparisonScope.Any);
|
filter.setScopeCardType(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
GlissatheTraitorTriggeredAbility() {
|
GlissaTheTraitorTriggeredAbility() {
|
||||||
super(Constants.Zone.BATTLEFIELD, new ReturnToHandTargetEffect());
|
super(Constants.Zone.BATTLEFIELD, new ReturnToHandTargetEffect());
|
||||||
this.addTarget(new TargetCardInYourGraveyard(filter));
|
this.addTarget(new TargetCardInYourGraveyard(filter));
|
||||||
}
|
}
|
||||||
|
|
||||||
GlissatheTraitorTriggeredAbility(final GlissatheTraitorTriggeredAbility ability) {
|
GlissaTheTraitorTriggeredAbility(final GlissaTheTraitorTriggeredAbility ability) {
|
||||||
super(ability);
|
super(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GlissatheTraitorTriggeredAbility copy() {
|
public GlissaTheTraitorTriggeredAbility copy() {
|
||||||
return new GlissatheTraitorTriggeredAbility(this);
|
return new GlissaTheTraitorTriggeredAbility(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -40,7 +40,7 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GofortheThroat extends CardImpl<GofortheThroat> {
|
public class GoForTheThroat extends CardImpl<GoForTheThroat> {
|
||||||
|
|
||||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ public class GofortheThroat extends CardImpl<GofortheThroat> {
|
||||||
filter.getNotCardType().add(CardType.ARTIFACT);
|
filter.getNotCardType().add(CardType.ARTIFACT);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GofortheThroat(UUID ownerId) {
|
public GoForTheThroat(UUID ownerId) {
|
||||||
super(ownerId, 43, "Go for the Throat", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{B}");
|
super(ownerId, 43, "Go for the Throat", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{B}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.color.setBlack(true);
|
this.color.setBlack(true);
|
||||||
|
@ -59,12 +59,12 @@ public class GofortheThroat extends CardImpl<GofortheThroat> {
|
||||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||||
}
|
}
|
||||||
|
|
||||||
public GofortheThroat(final GofortheThroat card) {
|
public GoForTheThroat(final GoForTheThroat card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GofortheThroat copy() {
|
public GoForTheThroat copy() {
|
||||||
return new GofortheThroat(this);
|
return new GoForTheThroat(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -47,9 +47,9 @@ import mage.players.Player;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class HeroofBladehold extends CardImpl<HeroofBladehold> {
|
public class HeroOfBladehold extends CardImpl<HeroOfBladehold> {
|
||||||
|
|
||||||
public HeroofBladehold(UUID ownerId) {
|
public HeroOfBladehold(UUID ownerId) {
|
||||||
super(ownerId, 8, "Hero of Bladehold", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{2}{W}{W}");
|
super(ownerId, 8, "Hero of Bladehold", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{2}{W}{W}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
|
@ -61,13 +61,13 @@ public class HeroofBladehold extends CardImpl<HeroofBladehold> {
|
||||||
this.addAbility(new AttacksTriggeredAbility(new HeroofBladeholdEffect(), false));
|
this.addAbility(new AttacksTriggeredAbility(new HeroofBladeholdEffect(), false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public HeroofBladehold(final HeroofBladehold card) {
|
public HeroOfBladehold(final HeroOfBladehold card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public HeroofBladehold copy() {
|
public HeroOfBladehold copy() {
|
||||||
return new HeroofBladehold(this);
|
return new HeroOfBladehold(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -44,10 +44,10 @@ import mage.filter.common.FilterCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class RallytheForces extends CardImpl<RallytheForces> {
|
public class RallyTheForces extends CardImpl<RallyTheForces> {
|
||||||
private static final FilterAttackingCreature filter = new FilterAttackingCreature("Attacking creatures");
|
private static final FilterAttackingCreature filter = new FilterAttackingCreature("Attacking creatures");
|
||||||
|
|
||||||
public RallytheForces (UUID ownerId) {
|
public RallyTheForces (UUID ownerId) {
|
||||||
super(ownerId, 73, "Rally the Forces", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{R}");
|
super(ownerId, 73, "Rally the Forces", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{R}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.color.setRed(true);
|
this.color.setRed(true);
|
||||||
|
@ -55,13 +55,13 @@ public class RallytheForces extends CardImpl<RallytheForces> {
|
||||||
this.getSpellAbility().addEffect(new GainAbilityAllEffect(FirstStrikeAbility.getInstance(), Constants.Duration.EndOfTurn, filter, false));
|
this.getSpellAbility().addEffect(new GainAbilityAllEffect(FirstStrikeAbility.getInstance(), Constants.Duration.EndOfTurn, filter, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public RallytheForces (final RallytheForces card) {
|
public RallyTheForces (final RallyTheForces card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RallytheForces copy() {
|
public RallyTheForces copy() {
|
||||||
return new RallytheForces(this);
|
return new RallyTheForces(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -40,9 +40,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SpreadtheSickness extends CardImpl<SpreadtheSickness> {
|
public class SpreadTheSickness extends CardImpl<SpreadTheSickness> {
|
||||||
|
|
||||||
public SpreadtheSickness (UUID ownerId) {
|
public SpreadTheSickness (UUID ownerId) {
|
||||||
super(ownerId, 56, "Spread the Sickness", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{4}{B}");
|
super(ownerId, 56, "Spread the Sickness", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{4}{B}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.color.setBlack(true);
|
this.color.setBlack(true);
|
||||||
|
@ -51,13 +51,13 @@ public class SpreadtheSickness extends CardImpl<SpreadtheSickness> {
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public SpreadtheSickness (final SpreadtheSickness card) {
|
public SpreadTheSickness (final SpreadTheSickness card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SpreadtheSickness copy() {
|
public SpreadTheSickness copy() {
|
||||||
return new SpreadtheSickness(this);
|
return new SpreadTheSickness(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -48,8 +48,8 @@ import mage.filter.FilterStackObject;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ThruntheLastTroll extends CardImpl<ThruntheLastTroll> {
|
public class ThrunTheLastTroll extends CardImpl<ThrunTheLastTroll> {
|
||||||
public ThruntheLastTroll (UUID ownerId) {
|
public ThrunTheLastTroll (UUID ownerId) {
|
||||||
super(ownerId, 92, "Thrun, the Last Troll", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{2}{G}{G}");
|
super(ownerId, 92, "Thrun, the Last Troll", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{2}{G}{G}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -63,13 +63,13 @@ public class ThruntheLastTroll extends CardImpl<ThruntheLastTroll> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{1}{G}")));
|
this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{1}{G}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ThruntheLastTroll (final ThruntheLastTroll card) {
|
public ThrunTheLastTroll (final ThrunTheLastTroll card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ThruntheLastTroll copy() {
|
public ThrunTheLastTroll copy() {
|
||||||
return new ThruntheLastTroll(this);
|
return new ThrunTheLastTroll(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -40,22 +40,22 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TurntheTide extends CardImpl<TurntheTide> {
|
public class TurnTheTide extends CardImpl<TurnTheTide> {
|
||||||
|
|
||||||
public TurntheTide (UUID ownerId) {
|
public TurnTheTide (UUID ownerId) {
|
||||||
super(ownerId, 35, "Turn the Tide", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
super(ownerId, 35, "Turn the Tide", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
this.color.setBlue(true);
|
this.color.setBlue(true);
|
||||||
this.getSpellAbility().addEffect(new BoostOpponentsEffect(-2, 0, Constants.Duration.EndOfTurn));
|
this.getSpellAbility().addEffect(new BoostOpponentsEffect(-2, 0, Constants.Duration.EndOfTurn));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TurntheTide (final TurntheTide card) {
|
public TurnTheTide (final TurnTheTide card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TurntheTide copy() {
|
public TurnTheTide copy() {
|
||||||
return new TurntheTide(this);
|
return new TurnTheTide(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author North
|
* @author North
|
||||||
*/
|
*/
|
||||||
public class ActofAggression extends CardImpl<ActofAggression> {
|
public class ActOfAggression extends CardImpl<ActOfAggression> {
|
||||||
|
|
||||||
public ActofAggression(UUID ownerId) {
|
public ActOfAggression(UUID ownerId) {
|
||||||
super(ownerId, 78, "Act of Aggression", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{3}{RP}{RP}");
|
super(ownerId, 78, "Act of Aggression", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{3}{RP}{RP}");
|
||||||
this.expansionSetCode = "NPH";
|
this.expansionSetCode = "NPH";
|
||||||
|
|
||||||
|
@ -56,12 +56,12 @@ public class ActofAggression extends CardImpl<ActofAggression> {
|
||||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
|
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActofAggression(final ActofAggression card) {
|
public ActOfAggression(final ActOfAggression card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ActofAggression copy() {
|
public ActOfAggression copy() {
|
||||||
return new ActofAggression(this);
|
return new ActOfAggression(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -52,7 +52,7 @@ import mage.target.common.TargetCreatureOrPlayer;
|
||||||
*
|
*
|
||||||
* @author <author>
|
* @author <author>
|
||||||
*/
|
*/
|
||||||
public class ShrineofBurningRage extends CardImpl<ShrineofBurningRage> {
|
public class ShrineOfBurningRage extends CardImpl<ShrineOfBurningRage> {
|
||||||
private final static FilterCard filter = new FilterCard("a red spell");
|
private final static FilterCard filter = new FilterCard("a red spell");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -60,7 +60,7 @@ public class ShrineofBurningRage extends CardImpl<ShrineofBurningRage> {
|
||||||
filter.setUseColor(true);
|
filter.setUseColor(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShrineofBurningRage (UUID ownerId) {
|
public ShrineOfBurningRage (UUID ownerId) {
|
||||||
super(ownerId, 153, "Shrine of Burning Rage", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
super(ownerId, 153, "Shrine of Burning Rage", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||||
this.expansionSetCode = "NPH";
|
this.expansionSetCode = "NPH";
|
||||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), Constants.TargetController.YOU, false));
|
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), Constants.TargetController.YOU, false));
|
||||||
|
@ -72,13 +72,13 @@ public class ShrineofBurningRage extends CardImpl<ShrineofBurningRage> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShrineofBurningRage (final ShrineofBurningRage card) {
|
public ShrineOfBurningRage (final ShrineOfBurningRage card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ShrineofBurningRage copy() {
|
public ShrineOfBurningRage copy() {
|
||||||
return new ShrineofBurningRage(this);
|
return new ShrineOfBurningRage(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -60,7 +60,7 @@ import mage.target.TargetPlayer;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SwordofWarandPeace extends CardImpl<SwordofWarandPeace> {
|
public class SwordOfWarAndPeace extends CardImpl<SwordOfWarAndPeace> {
|
||||||
private static FilterCard filter = new FilterCard("red and from white");
|
private static FilterCard filter = new FilterCard("red and from white");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -70,7 +70,7 @@ public class SwordofWarandPeace extends CardImpl<SwordofWarandPeace> {
|
||||||
filter.setScopeColor(Filter.ComparisonScope.Any);
|
filter.setScopeColor(Filter.ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofWarandPeace (UUID ownerId) {
|
public SwordOfWarAndPeace (UUID ownerId) {
|
||||||
super(ownerId, 161, "Sword of War and Peace", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 161, "Sword of War and Peace", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "NPH";
|
this.expansionSetCode = "NPH";
|
||||||
this.subtype.add("Equipment");
|
this.subtype.add("Equipment");
|
||||||
|
@ -80,13 +80,13 @@ public class SwordofWarandPeace extends CardImpl<SwordofWarandPeace> {
|
||||||
this.addAbility(new SwordofWarandPeaceAbility());
|
this.addAbility(new SwordofWarandPeaceAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofWarandPeace (final SwordofWarandPeace card) {
|
public SwordOfWarAndPeace (final SwordOfWarAndPeace card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SwordofWarandPeace copy() {
|
public SwordOfWarAndPeace copy() {
|
||||||
return new SwordofWarandPeace(this);
|
return new SwordOfWarAndPeace(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,21 +34,21 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GloryofWarfare extends mage.sets.alarareborn.GloryofWarfare {
|
public class GloryOfWarfare extends mage.sets.alarareborn.GloryOfWarfare {
|
||||||
|
|
||||||
public GloryofWarfare (UUID ownerId) {
|
public GloryOfWarfare (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.expansionSetCode = "HOP";
|
this.expansionSetCode = "HOP";
|
||||||
this.cardNumber = 88;
|
this.cardNumber = 88;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GloryofWarfare (final GloryofWarfare card) {
|
public GloryOfWarfare (final GloryOfWarfare card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GloryofWarfare copy() {
|
public GloryOfWarfare copy() {
|
||||||
return new GloryofWarfare(this);
|
return new GloryOfWarfare(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,21 +34,21 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SeatoftheSynod extends mage.sets.mirrodin.SeatoftheSynod {
|
public class SeatOfTheSynod extends mage.sets.mirrodin.SeatOfTheSynod {
|
||||||
|
|
||||||
public SeatoftheSynod (UUID ownerId) {
|
public SeatOfTheSynod (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 136;
|
this.cardNumber = 136;
|
||||||
this.expansionSetCode = "HOP";
|
this.expansionSetCode = "HOP";
|
||||||
}
|
}
|
||||||
|
|
||||||
public SeatoftheSynod (final SeatoftheSynod card) {
|
public SeatOfTheSynod (final SeatOfTheSynod card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SeatoftheSynod copy() {
|
public SeatOfTheSynod copy() {
|
||||||
return new SeatoftheSynod(this);
|
return new SeatOfTheSynod(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,21 +34,21 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TreeofTales extends mage.sets.mirrodin.TreeofTales {
|
public class TreeOfTales extends mage.sets.mirrodin.TreeOfTales {
|
||||||
|
|
||||||
public TreeofTales (UUID ownerId) {
|
public TreeOfTales (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 140;
|
this.cardNumber = 140;
|
||||||
this.expansionSetCode = "HOP";
|
this.expansionSetCode = "HOP";
|
||||||
}
|
}
|
||||||
|
|
||||||
public TreeofTales (final TreeofTales card) {
|
public TreeOfTales (final TreeOfTales card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TreeofTales copy() {
|
public TreeOfTales copy() {
|
||||||
return new TreeofTales(this);
|
return new TreeOfTales(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,21 +34,21 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class VaultofWhispers extends mage.sets.mirrodin.VaultofWhispers {
|
public class VaultOfWhispers extends mage.sets.mirrodin.VaultOfWhispers {
|
||||||
|
|
||||||
public VaultofWhispers (UUID ownerId) {
|
public VaultOfWhispers (UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 141;
|
this.cardNumber = 141;
|
||||||
this.expansionSetCode = "HOP";
|
this.expansionSetCode = "HOP";
|
||||||
}
|
}
|
||||||
|
|
||||||
public VaultofWhispers (final VaultofWhispers card) {
|
public VaultOfWhispers (final VaultOfWhispers card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VaultofWhispers copy() {
|
public VaultOfWhispers copy() {
|
||||||
return new VaultofWhispers(this);
|
return new VaultOfWhispers(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -43,9 +43,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class VotaryoftheConclave extends CardImpl<VotaryoftheConclave> {
|
public class VotaryOfTheConclave extends CardImpl<VotaryOfTheConclave> {
|
||||||
|
|
||||||
public VotaryoftheConclave (UUID ownerId) {
|
public VotaryOfTheConclave (UUID ownerId) {
|
||||||
super(ownerId, 35, "Votary of the Conclave", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{W}");
|
super(ownerId, 35, "Votary of the Conclave", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{W}");
|
||||||
this.expansionSetCode = "RAV";
|
this.expansionSetCode = "RAV";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
|
@ -56,13 +56,13 @@ public class VotaryoftheConclave extends CardImpl<VotaryoftheConclave> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{2}{G}")));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{2}{G}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public VotaryoftheConclave (final VotaryoftheConclave card) {
|
public VotaryOfTheConclave (final VotaryOfTheConclave card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VotaryoftheConclave copy() {
|
public VotaryOfTheConclave copy() {
|
||||||
return new VotaryoftheConclave(this);
|
return new VotaryOfTheConclave(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -44,9 +44,9 @@ import mage.target.common.TargetCardInYourGraveyard;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ArtisanofKozilek extends CardImpl<ArtisanofKozilek> {
|
public class ArtisanOfKozilek extends CardImpl<ArtisanOfKozilek> {
|
||||||
|
|
||||||
public ArtisanofKozilek (UUID ownerId) {
|
public ArtisanOfKozilek (UUID ownerId) {
|
||||||
super(ownerId, 2, "Artisan of Kozilek", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{9}");
|
super(ownerId, 2, "Artisan of Kozilek", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{9}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.subtype.add("Eldrazi");
|
this.subtype.add("Eldrazi");
|
||||||
|
@ -58,13 +58,13 @@ public class ArtisanofKozilek extends CardImpl<ArtisanofKozilek> {
|
||||||
this.addAbility(new AnnihilatorAbility(2));
|
this.addAbility(new AnnihilatorAbility(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArtisanofKozilek (final ArtisanofKozilek card) {
|
public ArtisanOfKozilek (final ArtisanOfKozilek card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ArtisanofKozilek copy() {
|
public ArtisanOfKozilek copy() {
|
||||||
return new ArtisanofKozilek(this);
|
return new ArtisanOfKozilek(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -50,9 +50,9 @@ import mage.players.Player;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class KozilekButcherofTruth extends CardImpl<KozilekButcherofTruth> {
|
public class KozilekButcherOfTruth extends CardImpl<KozilekButcherOfTruth> {
|
||||||
|
|
||||||
public KozilekButcherofTruth (UUID ownerId) {
|
public KozilekButcherOfTruth (UUID ownerId) {
|
||||||
super(ownerId, 6, "Kozilek, Butcher of Truth", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{10}");
|
super(ownerId, 6, "Kozilek, Butcher of Truth", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{10}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -64,13 +64,13 @@ public class KozilekButcherofTruth extends CardImpl<KozilekButcherofTruth> {
|
||||||
this.addAbility(new PutIntoGraveFromAnywhereTriggeredAbility(new KozilekButcherofTruthEffect(), false));
|
this.addAbility(new PutIntoGraveFromAnywhereTriggeredAbility(new KozilekButcherofTruthEffect(), false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public KozilekButcherofTruth (final KozilekButcherofTruth card) {
|
public KozilekButcherOfTruth (final KozilekButcherOfTruth card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public KozilekButcherofTruth copy() {
|
public KozilekButcherOfTruth copy() {
|
||||||
return new KozilekButcherofTruth(this);
|
return new KozilekButcherOfTruth(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -50,9 +50,9 @@ import javax.xml.datatype.Duration;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class LinvalaKeeperofSilence extends CardImpl<LinvalaKeeperofSilence> {
|
public class LinvalaKeeperOfSilence extends CardImpl<LinvalaKeeperOfSilence> {
|
||||||
|
|
||||||
public LinvalaKeeperofSilence (UUID ownerId) {
|
public LinvalaKeeperOfSilence (UUID ownerId) {
|
||||||
super(ownerId, 33, "Linvala, Keeper of Silence", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{2}{W}{W}");
|
super(ownerId, 33, "Linvala, Keeper of Silence", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{2}{W}{W}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -64,13 +64,13 @@ public class LinvalaKeeperofSilence extends CardImpl<LinvalaKeeperofSilence> {
|
||||||
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new LinvalaKeeperofSilenceEffect()));
|
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new LinvalaKeeperofSilenceEffect()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public LinvalaKeeperofSilence (final LinvalaKeeperofSilence card) {
|
public LinvalaKeeperOfSilence (final LinvalaKeeperOfSilence card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LinvalaKeeperofSilence copy() {
|
public LinvalaKeeperOfSilence copy() {
|
||||||
return new LinvalaKeeperofSilence(this);
|
return new LinvalaKeeperOfSilence(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,9 +57,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author maurer.it_at_gmail.com
|
* @author maurer.it_at_gmail.com
|
||||||
*/
|
*/
|
||||||
public class SarkhantheMad extends CardImpl<SarkhantheMad> {
|
public class SarkhanTheMad extends CardImpl<SarkhanTheMad> {
|
||||||
|
|
||||||
public SarkhantheMad(UUID ownerId) {
|
public SarkhanTheMad(UUID ownerId) {
|
||||||
super(ownerId, 214, "Sarkhan the Mad", Rarity.MYTHIC, new CardType[]{CardType.PLANESWALKER}, "{3}{B}{R}");
|
super(ownerId, 214, "Sarkhan the Mad", Rarity.MYTHIC, new CardType[]{CardType.PLANESWALKER}, "{3}{B}{R}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.subtype.add("Sarkhan");
|
this.subtype.add("Sarkhan");
|
||||||
|
@ -68,35 +68,35 @@ public class SarkhantheMad extends CardImpl<SarkhantheMad> {
|
||||||
this.color.setBlack(true);
|
this.color.setBlack(true);
|
||||||
this.color.setRed(true);
|
this.color.setRed(true);
|
||||||
|
|
||||||
this.addAbility(new LoyaltyAbility(new SarkhantheMadRevealAndDrawEffect(), 0));
|
this.addAbility(new LoyaltyAbility(new SarkhanTheMadRevealAndDrawEffect(), 0));
|
||||||
Target targetCreature = new TargetCreaturePermanent();
|
Target targetCreature = new TargetCreaturePermanent();
|
||||||
Ability sacAbility = new LoyaltyAbility(new SarkhantheMadSacEffect(), -2);
|
Ability sacAbility = new LoyaltyAbility(new SarkhanTheMadSacEffect(), -2);
|
||||||
sacAbility.addTarget(targetCreature);
|
sacAbility.addTarget(targetCreature);
|
||||||
this.addAbility(sacAbility);
|
this.addAbility(sacAbility);
|
||||||
Ability damageAbility = new LoyaltyAbility(new SarkhantheMadDragonDamageEffect(), -4);
|
Ability damageAbility = new LoyaltyAbility(new SarkhanTheMadDragonDamageEffect(), -4);
|
||||||
damageAbility.addTarget(new TargetPlayer());
|
damageAbility.addTarget(new TargetPlayer());
|
||||||
this.addAbility(damageAbility);
|
this.addAbility(damageAbility);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SarkhantheMad(final SarkhantheMad card) {
|
public SarkhanTheMad(final SarkhanTheMad card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SarkhantheMad copy() {
|
public SarkhanTheMad copy() {
|
||||||
return new SarkhantheMad(this);
|
return new SarkhanTheMad(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SarkhantheMadRevealAndDrawEffect extends OneShotEffect<SarkhantheMadRevealAndDrawEffect> {
|
class SarkhanTheMadRevealAndDrawEffect extends OneShotEffect<SarkhanTheMadRevealAndDrawEffect> {
|
||||||
|
|
||||||
private static final String effectText = "Reveal the top card of your library and put it into your hand. Sarkhan the Mad deals damage to himself equal to that card's converted mana cost";
|
private static final String effectText = "Reveal the top card of your library and put it into your hand. Sarkhan the Mad deals damage to himself equal to that card's converted mana cost";
|
||||||
|
|
||||||
SarkhantheMadRevealAndDrawEffect ( ) {
|
SarkhanTheMadRevealAndDrawEffect ( ) {
|
||||||
super(Outcome.DrawCard);
|
super(Outcome.DrawCard);
|
||||||
}
|
}
|
||||||
|
|
||||||
SarkhantheMadRevealAndDrawEffect ( SarkhantheMadRevealAndDrawEffect effect ) {
|
SarkhanTheMadRevealAndDrawEffect ( SarkhanTheMadRevealAndDrawEffect effect ) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,8 +117,8 @@ class SarkhantheMadRevealAndDrawEffect extends OneShotEffect<SarkhantheMadReveal
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SarkhantheMadRevealAndDrawEffect copy() {
|
public SarkhanTheMadRevealAndDrawEffect copy() {
|
||||||
return new SarkhantheMadRevealAndDrawEffect(this);
|
return new SarkhanTheMadRevealAndDrawEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -127,15 +127,15 @@ class SarkhantheMadRevealAndDrawEffect extends OneShotEffect<SarkhantheMadReveal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SarkhantheMadSacEffect extends OneShotEffect<SarkhantheMadSacEffect> {
|
class SarkhanTheMadSacEffect extends OneShotEffect<SarkhanTheMadSacEffect> {
|
||||||
|
|
||||||
private static final String effectText = "Target creature's controller sacrifices it, then that player puts a 5/5 red Dragon creature token with flying onto the battlefield";
|
private static final String effectText = "Target creature's controller sacrifices it, then that player puts a 5/5 red Dragon creature token with flying onto the battlefield";
|
||||||
|
|
||||||
SarkhantheMadSacEffect ( ) {
|
SarkhanTheMadSacEffect ( ) {
|
||||||
super(Outcome.Sacrifice);
|
super(Outcome.Sacrifice);
|
||||||
}
|
}
|
||||||
|
|
||||||
SarkhantheMadSacEffect ( SarkhantheMadSacEffect effect ) {
|
SarkhanTheMadSacEffect ( SarkhanTheMadSacEffect effect ) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -152,8 +152,8 @@ class SarkhantheMadSacEffect extends OneShotEffect<SarkhantheMadSacEffect> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SarkhantheMadSacEffect copy() {
|
public SarkhanTheMadSacEffect copy() {
|
||||||
return new SarkhantheMadSacEffect(this);
|
return new SarkhanTheMadSacEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -162,7 +162,7 @@ class SarkhantheMadSacEffect extends OneShotEffect<SarkhantheMadSacEffect> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SarkhantheMadDragonDamageEffect extends OneShotEffect<SarkhantheMadDragonDamageEffect> {
|
class SarkhanTheMadDragonDamageEffect extends OneShotEffect<SarkhanTheMadDragonDamageEffect> {
|
||||||
|
|
||||||
private static final String effectText = "Each Dragon creature you control deals damage equal to its power to target player";
|
private static final String effectText = "Each Dragon creature you control deals damage equal to its power to target player";
|
||||||
private static final FilterControlledPermanent filter;
|
private static final FilterControlledPermanent filter;
|
||||||
|
@ -173,11 +173,11 @@ class SarkhantheMadDragonDamageEffect extends OneShotEffect<SarkhantheMadDragonD
|
||||||
filter.getSubtype().add("Dragon");
|
filter.getSubtype().add("Dragon");
|
||||||
}
|
}
|
||||||
|
|
||||||
SarkhantheMadDragonDamageEffect ( ) {
|
SarkhanTheMadDragonDamageEffect ( ) {
|
||||||
super(Outcome.Damage);
|
super(Outcome.Damage);
|
||||||
}
|
}
|
||||||
|
|
||||||
SarkhantheMadDragonDamageEffect ( SarkhantheMadDragonDamageEffect effect ) {
|
SarkhanTheMadDragonDamageEffect ( SarkhanTheMadDragonDamageEffect effect ) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,8 +196,8 @@ class SarkhantheMadDragonDamageEffect extends OneShotEffect<SarkhantheMadDragonD
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SarkhantheMadDragonDamageEffect copy() {
|
public SarkhanTheMadDragonDamageEffect copy() {
|
||||||
return new SarkhantheMadDragonDamageEffect(this);
|
return new SarkhanTheMadDragonDamageEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -47,9 +47,9 @@ import mage.counters.CounterType;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SphinxofMagosi extends CardImpl<SphinxofMagosi> {
|
public class SphinxOfMagosi extends CardImpl<SphinxOfMagosi> {
|
||||||
|
|
||||||
public SphinxofMagosi (UUID ownerId) {
|
public SphinxOfMagosi (UUID ownerId) {
|
||||||
super(ownerId, 89, "Sphinx of Magosi", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{U}{U}{U}");
|
super(ownerId, 89, "Sphinx of Magosi", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{U}{U}{U}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.subtype.add("Sphinx");
|
this.subtype.add("Sphinx");
|
||||||
|
@ -62,13 +62,13 @@ public class SphinxofMagosi extends CardImpl<SphinxofMagosi> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SphinxofMagosi (final SphinxofMagosi card) {
|
public SphinxOfMagosi (final SphinxOfMagosi card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SphinxofMagosi copy() {
|
public SphinxOfMagosi copy() {
|
||||||
return new SphinxofMagosi(this);
|
return new SphinxOfMagosi(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -46,9 +46,9 @@ import mage.cards.LevelerCard;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class StudentofWarfare extends LevelerCard<StudentofWarfare> {
|
public class StudentOfWarfare extends LevelerCard<StudentOfWarfare> {
|
||||||
|
|
||||||
public StudentofWarfare (UUID ownerId) {
|
public StudentOfWarfare (UUID ownerId) {
|
||||||
super(ownerId, 47, "Student of Warfare", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W}");
|
super(ownerId, 47, "Student of Warfare", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
|
@ -66,13 +66,13 @@ public class StudentofWarfare extends LevelerCard<StudentofWarfare> {
|
||||||
this.getLevels().add(new LevelAbility(7, -1, abilities2, 4, 4));
|
this.getLevels().add(new LevelAbility(7, -1, abilities2, 4, 4));
|
||||||
}
|
}
|
||||||
|
|
||||||
public StudentofWarfare (final StudentofWarfare card) {
|
public StudentOfWarfare (final StudentOfWarfare card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public StudentofWarfare copy() {
|
public StudentOfWarfare copy() {
|
||||||
return new StudentofWarfare(this);
|
return new StudentOfWarfare(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.game.permanent.token.Token;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TuktuktheExplorer extends CardImpl<TuktuktheExplorer> {
|
public class TuktukTheExplorer extends CardImpl<TuktukTheExplorer> {
|
||||||
|
|
||||||
public TuktuktheExplorer (UUID ownerId) {
|
public TuktukTheExplorer (UUID ownerId) {
|
||||||
super(ownerId, 169, "Tuktuk the Explorer", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
super(ownerId, 169, "Tuktuk the Explorer", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -53,22 +53,22 @@ public class TuktuktheExplorer extends CardImpl<TuktuktheExplorer> {
|
||||||
this.power = new MageInt(1);
|
this.power = new MageInt(1);
|
||||||
this.toughness = new MageInt(1);
|
this.toughness = new MageInt(1);
|
||||||
this.addAbility(HasteAbility.getInstance());
|
this.addAbility(HasteAbility.getInstance());
|
||||||
this.addAbility(new PutIntoGraveFromBattlefieldTriggeredAbility(new CreateTokenEffect(new TuktuktheReturnedToken())));
|
this.addAbility(new PutIntoGraveFromBattlefieldTriggeredAbility(new CreateTokenEffect(new TuktukTheReturnedToken())));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TuktuktheExplorer (final TuktuktheExplorer card) {
|
public TuktukTheExplorer (final TuktukTheExplorer card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TuktuktheExplorer copy() {
|
public TuktukTheExplorer copy() {
|
||||||
return new TuktuktheExplorer(this);
|
return new TuktukTheExplorer(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TuktuktheReturnedToken extends Token {
|
class TuktukTheReturnedToken extends Token {
|
||||||
TuktuktheReturnedToken() {
|
TuktukTheReturnedToken() {
|
||||||
super("Tuktuk the Returned", "a legendary 5/5 colorless Goblin Golem artifact creature token");
|
super("Tuktuk the Returned", "a legendary 5/5 colorless Goblin Golem artifact creature token");
|
||||||
cardType.add(CardType.ARTIFACT);
|
cardType.add(CardType.ARTIFACT);
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
|
@ -53,11 +53,11 @@ import mage.target.TargetPermanent;
|
||||||
*
|
*
|
||||||
* @author maurer.it_at_gmail.com
|
* @author maurer.it_at_gmail.com
|
||||||
*/
|
*/
|
||||||
public class UlamogtheInfiniteGyre extends CardImpl<UlamogtheInfiniteGyre> {
|
public class UlamogTheInfiniteGyre extends CardImpl<UlamogTheInfiniteGyre> {
|
||||||
|
|
||||||
private static final String effectText = "When Ulamog is put into a graveyard from anywhere, its owner shuffles his or her graveyard into his or her library";
|
private static final String effectText = "When Ulamog is put into a graveyard from anywhere, its owner shuffles his or her graveyard into his or her library";
|
||||||
|
|
||||||
public UlamogtheInfiniteGyre(UUID ownerId) {
|
public UlamogTheInfiniteGyre(UUID ownerId) {
|
||||||
super(ownerId, 12, "Ulamog, the Infinite Gyre", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{11}");
|
super(ownerId, 12, "Ulamog, the Infinite Gyre", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{11}");
|
||||||
this.expansionSetCode = "ROE";
|
this.expansionSetCode = "ROE";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -72,13 +72,13 @@ public class UlamogtheInfiniteGyre extends CardImpl<UlamogtheInfiniteGyre> {
|
||||||
this.addAbility(new ZoneChangeTriggeredAbility(Zone.GRAVEYARD, new UlamogtheInfiniteGyreEnterGraveyardEffect(), effectText, false));
|
this.addAbility(new ZoneChangeTriggeredAbility(Zone.GRAVEYARD, new UlamogtheInfiniteGyreEnterGraveyardEffect(), effectText, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public UlamogtheInfiniteGyre(final UlamogtheInfiniteGyre card) {
|
public UlamogTheInfiniteGyre(final UlamogTheInfiniteGyre card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UlamogtheInfiniteGyre copy() {
|
public UlamogTheInfiniteGyre copy() {
|
||||||
return new UlamogtheInfiniteGyre(this);
|
return new UlamogTheInfiniteGyre(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ import mage.filter.FilterPermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class BlunttheAssault extends CardImpl<BlunttheAssault> {
|
public class BluntTheAssault extends CardImpl<BluntTheAssault> {
|
||||||
|
|
||||||
private static final FilterPermanent filter = new FilterPermanent("creature on the battlefield");
|
private static final FilterPermanent filter = new FilterPermanent("creature on the battlefield");
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ public class BlunttheAssault extends CardImpl<BlunttheAssault> {
|
||||||
filter.getCardType().add(Constants.CardType.CREATURE);
|
filter.getCardType().add(Constants.CardType.CREATURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public BlunttheAssault (UUID ownerId) {
|
public BluntTheAssault (UUID ownerId) {
|
||||||
super(ownerId, 113, "Blunt the Assault", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{G}");
|
super(ownerId, 113, "Blunt the Assault", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{G}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.color.setGreen(true);
|
this.color.setGreen(true);
|
||||||
|
@ -59,13 +59,13 @@ public class BlunttheAssault extends CardImpl<BlunttheAssault> {
|
||||||
this.getSpellAbility().addEffect(new PreventAllCombatDamageEffect(Constants.Duration.EndOfTurn));
|
this.getSpellAbility().addEffect(new PreventAllCombatDamageEffect(Constants.Duration.EndOfTurn));
|
||||||
}
|
}
|
||||||
|
|
||||||
public BlunttheAssault (final BlunttheAssault card) {
|
public BluntTheAssault (final BluntTheAssault card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlunttheAssault copy() {
|
public BluntTheAssault copy() {
|
||||||
return new BlunttheAssault(this);
|
return new BluntTheAssault(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -46,9 +46,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class BondsofQuicksilver extends CardImpl<BondsofQuicksilver> {
|
public class BondsOfQuicksilver extends CardImpl<BondsOfQuicksilver> {
|
||||||
|
|
||||||
public BondsofQuicksilver (UUID ownerId) {
|
public BondsOfQuicksilver (UUID ownerId) {
|
||||||
super(ownerId, 29, "Bonds of Quicksilver", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{3}{U}");
|
super(ownerId, 29, "Bonds of Quicksilver", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{3}{U}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.subtype.add("Aura");
|
this.subtype.add("Aura");
|
||||||
|
@ -63,13 +63,13 @@ public class BondsofQuicksilver extends CardImpl<BondsofQuicksilver> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public BondsofQuicksilver (final BondsofQuicksilver card) {
|
public BondsOfQuicksilver (final BondsOfQuicksilver card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BondsofQuicksilver copy() {
|
public BondsOfQuicksilver copy() {
|
||||||
return new BondsofQuicksilver(this);
|
return new BondsOfQuicksilver(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -56,7 +56,7 @@ import mage.target.TargetCard;
|
||||||
*
|
*
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class GethLordoftheVault extends CardImpl<GethLordoftheVault> {
|
public class GethLordOfTheVault extends CardImpl<GethLordOfTheVault> {
|
||||||
|
|
||||||
private static FilterCard filter = new FilterCard("artifact or creature card");
|
private static FilterCard filter = new FilterCard("artifact or creature card");
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ public class GethLordoftheVault extends CardImpl<GethLordoftheVault> {
|
||||||
filter.setScopeCardType(ComparisonScope.Any);
|
filter.setScopeCardType(ComparisonScope.Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GethLordoftheVault (UUID ownerId) {
|
public GethLordOfTheVault (UUID ownerId) {
|
||||||
super(ownerId, 64, "Geth, Lord of the Vault", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{4}{B}{B}");
|
super(ownerId, 64, "Geth, Lord of the Vault", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{4}{B}{B}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -96,13 +96,13 @@ public class GethLordoftheVault extends CardImpl<GethLordoftheVault> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public GethLordoftheVault (final GethLordoftheVault card) {
|
public GethLordOfTheVault (final GethLordOfTheVault card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GethLordoftheVault copy() {
|
public GethLordOfTheVault copy() {
|
||||||
return new GethLordoftheVault(this);
|
return new GethLordOfTheVault(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -40,9 +40,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GraspofDarkness extends CardImpl<GraspofDarkness> {
|
public class GraspOfDarkness extends CardImpl<GraspOfDarkness> {
|
||||||
|
|
||||||
public GraspofDarkness (UUID ownerId) {
|
public GraspOfDarkness (UUID ownerId) {
|
||||||
super(ownerId, 65, "Grasp of Darkness", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{B}{B}");
|
super(ownerId, 65, "Grasp of Darkness", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{B}{B}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.color.setBlack(true);
|
this.color.setBlack(true);
|
||||||
|
@ -50,13 +50,13 @@ public class GraspofDarkness extends CardImpl<GraspofDarkness> {
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public GraspofDarkness (final GraspofDarkness card) {
|
public GraspOfDarkness (final GraspOfDarkness card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GraspofDarkness copy() {
|
public GraspOfDarkness copy() {
|
||||||
return new GraspofDarkness(this);
|
return new GraspOfDarkness(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -59,7 +59,7 @@ import mage.target.common.TargetLandPermanent;
|
||||||
*
|
*
|
||||||
* @author Loki, North
|
* @author Loki, North
|
||||||
*/
|
*/
|
||||||
public class KothoftheHammer extends CardImpl<KothoftheHammer> {
|
public class KothOfTheHammer extends CardImpl<KothOfTheHammer> {
|
||||||
static final FilterLandPermanent filter = new FilterLandPermanent("Mountain");
|
static final FilterLandPermanent filter = new FilterLandPermanent("Mountain");
|
||||||
private static final FilterLandPermanent filterCount = new FilterLandPermanent("Mountain you control");
|
private static final FilterLandPermanent filterCount = new FilterLandPermanent("Mountain you control");
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ public class KothoftheHammer extends CardImpl<KothoftheHammer> {
|
||||||
filterCount.setTargetController(Constants.TargetController.YOU);
|
filterCount.setTargetController(Constants.TargetController.YOU);
|
||||||
}
|
}
|
||||||
|
|
||||||
public KothoftheHammer (UUID ownerId) {
|
public KothOfTheHammer (UUID ownerId) {
|
||||||
super(ownerId, 94, "Koth of the Hammer", Rarity.MYTHIC, new CardType[]{CardType.PLANESWALKER}, "{2}{R}{R}");
|
super(ownerId, 94, "Koth of the Hammer", Rarity.MYTHIC, new CardType[]{CardType.PLANESWALKER}, "{2}{R}{R}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.subtype.add("Koth");
|
this.subtype.add("Koth");
|
||||||
|
@ -77,30 +77,30 @@ public class KothoftheHammer extends CardImpl<KothoftheHammer> {
|
||||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), ""));
|
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), ""));
|
||||||
|
|
||||||
Ability ability = new LoyaltyAbility(new UntapTargetEffect(), 1);
|
Ability ability = new LoyaltyAbility(new UntapTargetEffect(), 1);
|
||||||
ability.addEffect(new KothoftheHammerFirstEffect());
|
ability.addEffect(new KothOfTheHammerFirstEffect());
|
||||||
ability.addTarget(new TargetLandPermanent(filter));
|
ability.addTarget(new TargetLandPermanent(filter));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
this.addAbility(new LoyaltyAbility(new DynamicManaEffect(Mana.RedMana, new PermanentsOnBattlefieldCount(filterCount)), -2));
|
this.addAbility(new LoyaltyAbility(new DynamicManaEffect(Mana.RedMana, new PermanentsOnBattlefieldCount(filterCount)), -2));
|
||||||
this.addAbility(new LoyaltyAbility(new KothoftheHammerThirdEffect(), -5));
|
this.addAbility(new LoyaltyAbility(new KothOfTheHammerThirdEffect(), -5));
|
||||||
}
|
}
|
||||||
|
|
||||||
public KothoftheHammer (final KothoftheHammer card) {
|
public KothOfTheHammer (final KothOfTheHammer card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public KothoftheHammer copy() {
|
public KothOfTheHammer copy() {
|
||||||
return new KothoftheHammer(this);
|
return new KothOfTheHammer(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class KothoftheHammerFirstEffect extends ContinuousEffectImpl<KothoftheHammerFirstEffect> {
|
class KothOfTheHammerFirstEffect extends ContinuousEffectImpl<KothOfTheHammerFirstEffect> {
|
||||||
|
|
||||||
public KothoftheHammerFirstEffect() {
|
public KothOfTheHammerFirstEffect() {
|
||||||
super(Duration.EndOfTurn, Constants.Outcome.BecomeCreature);
|
super(Duration.EndOfTurn, Constants.Outcome.BecomeCreature);
|
||||||
}
|
}
|
||||||
|
|
||||||
public KothoftheHammerFirstEffect(final KothoftheHammerFirstEffect effect) {
|
public KothOfTheHammerFirstEffect(final KothOfTheHammerFirstEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,8 +137,8 @@ class KothoftheHammerFirstEffect extends ContinuousEffectImpl<KothoftheHammerFir
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public KothoftheHammerFirstEffect copy() {
|
public KothOfTheHammerFirstEffect copy() {
|
||||||
return new KothoftheHammerFirstEffect(this);
|
return new KothOfTheHammerFirstEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -152,12 +152,12 @@ class KothoftheHammerFirstEffect extends ContinuousEffectImpl<KothoftheHammerFir
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class KothoftheHammerThirdEffect extends ContinuousEffectImpl<KothoftheHammerThirdEffect> {
|
class KothOfTheHammerThirdEffect extends ContinuousEffectImpl<KothOfTheHammerThirdEffect> {
|
||||||
public KothoftheHammerThirdEffect() {
|
public KothOfTheHammerThirdEffect() {
|
||||||
super(Duration.EndOfGame, Constants.Outcome.AddAbility);
|
super(Duration.EndOfGame, Constants.Outcome.AddAbility);
|
||||||
}
|
}
|
||||||
|
|
||||||
public KothoftheHammerThirdEffect(final KothoftheHammerThirdEffect effect) {
|
public KothOfTheHammerThirdEffect(final KothOfTheHammerThirdEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ class KothoftheHammerThirdEffect extends ContinuousEffectImpl<KothoftheHammerThi
|
||||||
switch (layer) {
|
switch (layer) {
|
||||||
case AbilityAddingRemovingEffects_6:
|
case AbilityAddingRemovingEffects_6:
|
||||||
if (sublayer == Constants.SubLayer.NA) {
|
if (sublayer == Constants.SubLayer.NA) {
|
||||||
for (Permanent p : game.getBattlefield().getActivePermanents(KothoftheHammer.filter, source.getControllerId(), game)) {
|
for (Permanent p : game.getBattlefield().getActivePermanents(KothOfTheHammer.filter, source.getControllerId(), game)) {
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
|
||||||
ability.addTarget(new TargetCreatureOrPlayer());
|
ability.addTarget(new TargetCreatureOrPlayer());
|
||||||
p.addAbility(ability);
|
p.addAbility(ability);
|
||||||
|
@ -183,8 +183,8 @@ class KothoftheHammerThirdEffect extends ContinuousEffectImpl<KothoftheHammerThi
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public KothoftheHammerThirdEffect copy() {
|
public KothOfTheHammerThirdEffect copy() {
|
||||||
return new KothoftheHammerThirdEffect(this);
|
return new KothOfTheHammerThirdEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -40,17 +40,7 @@ import mage.Constants.SubLayer;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.TriggeredAbilityImpl;
|
import mage.abilities.TriggeredAbilityImpl;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
|
||||||
import mage.abilities.condition.common.HaveCounter;
|
|
||||||
import mage.abilities.condition.common.Metalcraft;
|
|
||||||
import mage.abilities.condition.common.MyTurn;
|
|
||||||
import mage.abilities.decorator.ConditionalContinousEffect;
|
|
||||||
import mage.abilities.effects.ContinuousEffect;
|
|
||||||
import mage.abilities.effects.ContinuousEffectImpl;
|
import mage.abilities.effects.ContinuousEffectImpl;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
|
||||||
import mage.abilities.effects.common.continious.BecomesCreatureSourceEOTEffect;
|
|
||||||
import mage.abilities.effects.common.continious.BoostSourceEffect;
|
|
||||||
import mage.abilities.effects.common.continious.GainAbilityTargetEffect;
|
|
||||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||||
import mage.abilities.keyword.TrampleAbility;
|
import mage.abilities.keyword.TrampleAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
@ -68,9 +58,9 @@ import mage.target.common.TargetLandPermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class LiegeoftheTangle extends CardImpl<LiegeoftheTangle> {
|
public class LiegeOfTheTangle extends CardImpl<LiegeOfTheTangle> {
|
||||||
|
|
||||||
public LiegeoftheTangle (UUID ownerId) {
|
public LiegeOfTheTangle (UUID ownerId) {
|
||||||
super(ownerId, 123, "Liege of the Tangle", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{6}{G}{G}");
|
super(ownerId, 123, "Liege of the Tangle", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{6}{G}{G}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.subtype.add("Elemental");
|
this.subtype.add("Elemental");
|
||||||
|
@ -78,23 +68,23 @@ public class LiegeoftheTangle extends CardImpl<LiegeoftheTangle> {
|
||||||
this.power = new MageInt(8);
|
this.power = new MageInt(8);
|
||||||
this.toughness = new MageInt(8);
|
this.toughness = new MageInt(8);
|
||||||
this.addAbility(TrampleAbility.getInstance());
|
this.addAbility(TrampleAbility.getInstance());
|
||||||
this.addAbility(new LiegeoftheTangleTriggeredAbility());
|
this.addAbility(new LiegeOfTheTangleTriggeredAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public LiegeoftheTangle (final LiegeoftheTangle card) {
|
public LiegeOfTheTangle (final LiegeOfTheTangle card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LiegeoftheTangle copy() {
|
public LiegeOfTheTangle copy() {
|
||||||
return new LiegeoftheTangle(this);
|
return new LiegeOfTheTangle(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class LiegeoftheTangleTriggeredAbility extends TriggeredAbilityImpl<LiegeoftheTangleTriggeredAbility> {
|
class LiegeOfTheTangleTriggeredAbility extends TriggeredAbilityImpl<LiegeOfTheTangleTriggeredAbility> {
|
||||||
LiegeoftheTangleTriggeredAbility() {
|
LiegeOfTheTangleTriggeredAbility() {
|
||||||
super(Constants.Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.AWAKENING.createInstance()));
|
super(Constants.Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.AWAKENING.createInstance()));
|
||||||
this.addEffect(new LiegeoftheTangleEffect());
|
this.addEffect(new LiegeOfTheTangleEffect());
|
||||||
// Ability ability = new SimpleStaticAbility(Constants.Zone.BATTLEFIELD,
|
// Ability ability = new SimpleStaticAbility(Constants.Zone.BATTLEFIELD,
|
||||||
// new ConditionalContinousEffect(
|
// new ConditionalContinousEffect(
|
||||||
// new BecomesCreatureSourceEOTEffect(new AwakeningLandToken(), "land"),
|
// new BecomesCreatureSourceEOTEffect(new AwakeningLandToken(), "land"),
|
||||||
|
@ -105,13 +95,13 @@ class LiegeoftheTangleTriggeredAbility extends TriggeredAbilityImpl<LiegeoftheTa
|
||||||
this.addTarget(target);
|
this.addTarget(target);
|
||||||
}
|
}
|
||||||
|
|
||||||
public LiegeoftheTangleTriggeredAbility(final LiegeoftheTangleTriggeredAbility ability) {
|
public LiegeOfTheTangleTriggeredAbility(final LiegeOfTheTangleTriggeredAbility ability) {
|
||||||
super(ability);
|
super(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LiegeoftheTangleTriggeredAbility copy() {
|
public LiegeOfTheTangleTriggeredAbility copy() {
|
||||||
return new LiegeoftheTangleTriggeredAbility(this);
|
return new LiegeOfTheTangleTriggeredAbility(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -132,15 +122,15 @@ class LiegeoftheTangleTriggeredAbility extends TriggeredAbilityImpl<LiegeoftheTa
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class LiegeoftheTangleEffect extends ContinuousEffectImpl<LiegeoftheTangleEffect> {
|
class LiegeOfTheTangleEffect extends ContinuousEffectImpl<LiegeOfTheTangleEffect> {
|
||||||
|
|
||||||
private static AwakeningLandToken token = new AwakeningLandToken();
|
private static AwakeningLandToken token = new AwakeningLandToken();
|
||||||
|
|
||||||
public LiegeoftheTangleEffect() {
|
public LiegeOfTheTangleEffect() {
|
||||||
super(Duration.EndOfGame, Outcome.BecomeCreature);
|
super(Duration.EndOfGame, Outcome.BecomeCreature);
|
||||||
}
|
}
|
||||||
|
|
||||||
public LiegeoftheTangleEffect(final LiegeoftheTangleEffect effect) {
|
public LiegeOfTheTangleEffect(final LiegeOfTheTangleEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,8 +181,8 @@ class LiegeoftheTangleEffect extends ContinuousEffectImpl<LiegeoftheTangleEffect
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LiegeoftheTangleEffect copy() {
|
public LiegeOfTheTangleEffect copy() {
|
||||||
return new LiegeoftheTangleEffect(this);
|
return new LiegeOfTheTangleEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -43,9 +43,9 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SeizetheInitiative extends CardImpl<SeizetheInitiative> {
|
public class SeizeTheInitiative extends CardImpl<SeizeTheInitiative> {
|
||||||
|
|
||||||
public SeizetheInitiative (UUID ownerId) {
|
public SeizeTheInitiative (UUID ownerId) {
|
||||||
super(ownerId, 20, "Seize the Initiative", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{W}");
|
super(ownerId, 20, "Seize the Initiative", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{W}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.color.setWhite(true);
|
this.color.setWhite(true);
|
||||||
|
@ -54,13 +54,13 @@ public class SeizetheInitiative extends CardImpl<SeizetheInitiative> {
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public SeizetheInitiative (final SeizetheInitiative card) {
|
public SeizeTheInitiative (final SeizeTheInitiative card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SeizetheInitiative copy() {
|
public SeizeTheInitiative copy() {
|
||||||
return new SeizetheInitiative(this);
|
return new SeizeTheInitiative(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -47,9 +47,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SkithiryxtheBlightDragon extends CardImpl<SkithiryxtheBlightDragon> {
|
public class SkithiryxTheBlightDragon extends CardImpl<SkithiryxTheBlightDragon> {
|
||||||
|
|
||||||
public SkithiryxtheBlightDragon (UUID ownerId) {
|
public SkithiryxTheBlightDragon (UUID ownerId) {
|
||||||
super(ownerId, 79, "Skithiryx, the Blight Dragon", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
super(ownerId, 79, "Skithiryx, the Blight Dragon", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -64,13 +64,13 @@ public class SkithiryxtheBlightDragon extends CardImpl<SkithiryxtheBlightDragon>
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{B}{B}")));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{B}{B}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SkithiryxtheBlightDragon (final SkithiryxtheBlightDragon card) {
|
public SkithiryxTheBlightDragon (final SkithiryxTheBlightDragon card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SkithiryxtheBlightDragon copy() {
|
public SkithiryxTheBlightDragon copy() {
|
||||||
return new SkithiryxtheBlightDragon(this);
|
return new SkithiryxTheBlightDragon(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -59,9 +59,9 @@ import mage.target.TargetPlayer;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SwordofBodyandMind extends CardImpl<SwordofBodyandMind> {
|
public class SwordOfBodyAndMind extends CardImpl<SwordOfBodyAndMind> {
|
||||||
|
|
||||||
private static FilterCard filter = new FilterCard("green and from blue");
|
private static final FilterCard filter = new FilterCard("green and from blue");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.setUseColor(true);
|
filter.setUseColor(true);
|
||||||
|
@ -71,41 +71,41 @@ public class SwordofBodyandMind extends CardImpl<SwordofBodyandMind> {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public SwordofBodyandMind (UUID ownerId) {
|
public SwordOfBodyAndMind (UUID ownerId) {
|
||||||
super(ownerId, 208, "Sword of Body and Mind", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 208, "Sword of Body and Mind", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.subtype.add("Equipment");
|
this.subtype.add("Equipment");
|
||||||
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(2, 2)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(2, 2)));
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(new ProtectionAbility(filter), Constants.AttachmentType.EQUIPMENT)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(new ProtectionAbility(filter), Constants.AttachmentType.EQUIPMENT)));
|
||||||
this.addAbility(new SwordofBodyandMindAbility());
|
this.addAbility(new SwordOfBodyAndMindAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofBodyandMind (final SwordofBodyandMind card) {
|
public SwordOfBodyAndMind (final SwordOfBodyAndMind card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SwordofBodyandMind copy() {
|
public SwordOfBodyAndMind copy() {
|
||||||
return new SwordofBodyandMind(this);
|
return new SwordOfBodyAndMind(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SwordofBodyandMindAbility extends TriggeredAbilityImpl<SwordofBodyandMindAbility> {
|
class SwordOfBodyAndMindAbility extends TriggeredAbilityImpl<SwordOfBodyAndMindAbility> {
|
||||||
|
|
||||||
public SwordofBodyandMindAbility() {
|
public SwordOfBodyAndMindAbility() {
|
||||||
super(Zone.BATTLEFIELD, new CreateTokenEffect(new WolfToken()));
|
super(Zone.BATTLEFIELD, new CreateTokenEffect(new WolfToken()));
|
||||||
this.addEffect(new PutLibraryIntoGraveTargetEffect(10));
|
this.addEffect(new PutLibraryIntoGraveTargetEffect(10));
|
||||||
this.addTarget(new TargetPlayer());
|
this.addTarget(new TargetPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
public SwordofBodyandMindAbility(final SwordofBodyandMindAbility ability) {
|
public SwordOfBodyAndMindAbility(final SwordOfBodyAndMindAbility ability) {
|
||||||
super(ability);
|
super(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SwordofBodyandMindAbility copy() {
|
public SwordOfBodyAndMindAbility copy() {
|
||||||
return new SwordofBodyandMindAbility(this);
|
return new SwordOfBodyAndMindAbility(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -45,9 +45,9 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TowerofCalamities extends CardImpl<TowerofCalamities> {
|
public class TowerOfCalamities extends CardImpl<TowerOfCalamities> {
|
||||||
|
|
||||||
public TowerofCalamities (UUID ownerId) {
|
public TowerOfCalamities (UUID ownerId) {
|
||||||
super(ownerId, 212, "Tower of Calamities", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 212, "Tower of Calamities", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(12), new ManaCostsImpl("{8}"));
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(12), new ManaCostsImpl("{8}"));
|
||||||
|
@ -56,13 +56,13 @@ public class TowerofCalamities extends CardImpl<TowerofCalamities> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TowerofCalamities (final TowerofCalamities card) {
|
public TowerOfCalamities (final TowerOfCalamities card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TowerofCalamities copy() {
|
public TowerOfCalamities copy() {
|
||||||
return new TowerofCalamities(this);
|
return new TowerOfCalamities(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -53,9 +53,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class TrigonofCorruption extends CardImpl<TrigonofCorruption> {
|
public class TrigonOfCorruption extends CardImpl<TrigonOfCorruption> {
|
||||||
|
|
||||||
public TrigonofCorruption (UUID ownerId) {
|
public TrigonOfCorruption (UUID ownerId) {
|
||||||
super(ownerId, 213, "Trigon of Corruption", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 213, "Trigon of Corruption", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
|
|
||||||
|
@ -78,13 +78,13 @@ public class TrigonofCorruption extends CardImpl<TrigonofCorruption> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TrigonofCorruption (final TrigonofCorruption card) {
|
public TrigonOfCorruption (final TrigonOfCorruption card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TrigonofCorruption copy() {
|
public TrigonOfCorruption copy() {
|
||||||
return new TrigonofCorruption(this);
|
return new TrigonOfCorruption(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -50,11 +50,11 @@ import mage.counters.common.ChargeCounter;
|
||||||
/**
|
/**
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class TrigonofInfestation extends CardImpl<TrigonofInfestation> {
|
public class TrigonOfInfestation extends CardImpl<TrigonOfInfestation> {
|
||||||
|
|
||||||
private static InsectInfectToken insectToken = new InsectInfectToken();
|
private static InsectInfectToken insectToken = new InsectInfectToken();
|
||||||
|
|
||||||
public TrigonofInfestation(UUID ownerId) {
|
public TrigonOfInfestation(UUID ownerId) {
|
||||||
super(ownerId, 214, "Trigon of Infestation", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
|
super(ownerId, 214, "Trigon of Infestation", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
|
|
||||||
|
@ -72,13 +72,13 @@ public class TrigonofInfestation extends CardImpl<TrigonofInfestation> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TrigonofInfestation(final TrigonofInfestation card) {
|
public TrigonOfInfestation(final TrigonOfInfestation card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TrigonofInfestation copy() {
|
public TrigonOfInfestation copy() {
|
||||||
return new TrigonofInfestation(this);
|
return new TrigonOfInfestation(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -49,9 +49,9 @@ import mage.counters.common.ChargeCounter;
|
||||||
/**
|
/**
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class TrigonofMending extends CardImpl<TrigonofMending> {
|
public class TrigonOfMending extends CardImpl<TrigonOfMending> {
|
||||||
|
|
||||||
public TrigonofMending(UUID ownerId) {
|
public TrigonOfMending(UUID ownerId) {
|
||||||
super(ownerId, 215, "Trigon of Mending", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
super(ownerId, 215, "Trigon of Mending", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
|
|
||||||
|
@ -69,13 +69,13 @@ public class TrigonofMending extends CardImpl<TrigonofMending> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TrigonofMending(final TrigonofMending card) {
|
public TrigonOfMending(final TrigonOfMending card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TrigonofMending copy() {
|
public TrigonOfMending copy() {
|
||||||
return new TrigonofMending(this);
|
return new TrigonOfMending(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -54,9 +54,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
/**
|
/**
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TrigonofRage extends CardImpl<TrigonofRage> {
|
public class TrigonOfRage extends CardImpl<TrigonOfRage> {
|
||||||
|
|
||||||
public TrigonofRage(UUID ownerId) {
|
public TrigonOfRage(UUID ownerId) {
|
||||||
super(ownerId, 216, "Trigon of Rage", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
super(ownerId, 216, "Trigon of Rage", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
|
|
||||||
|
@ -79,13 +79,13 @@ public class TrigonofRage extends CardImpl<TrigonofRage> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TrigonofRage(final TrigonofRage card) {
|
public TrigonOfRage(final TrigonOfRage card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TrigonofRage copy() {
|
public TrigonOfRage copy() {
|
||||||
return new TrigonofRage(this);
|
return new TrigonOfRage(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -49,9 +49,9 @@ import mage.counters.common.ChargeCounter;
|
||||||
/**
|
/**
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class TrigonofThought extends CardImpl<TrigonofThought> {
|
public class TrigonOfThought extends CardImpl<TrigonOfThought> {
|
||||||
|
|
||||||
public TrigonofThought(UUID ownerId) {
|
public TrigonOfThought(UUID ownerId) {
|
||||||
super(ownerId, 217, "Trigon of Thought", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{5}");
|
super(ownerId, 217, "Trigon of Thought", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{5}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
|
|
||||||
|
@ -69,13 +69,13 @@ public class TrigonofThought extends CardImpl<TrigonofThought> {
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), costs2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TrigonofThought(final TrigonofThought card) {
|
public TrigonOfThought(final TrigonOfThought card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TrigonofThought copy() {
|
public TrigonOfThought copy() {
|
||||||
return new TrigonofThought(this);
|
return new TrigonOfThought(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -50,7 +50,7 @@ import mage.target.TargetPermanent;
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TumbleMagnet extends CardImpl<TumbleMagnet> {
|
public class TumbleMagnet extends CardImpl<TumbleMagnet> {
|
||||||
private static FilterPermanent filter = new FilterPermanent("artifact or creature");
|
private static final FilterPermanent filter = new FilterPermanent("artifact or creature");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.getCardType().add(CardType.ARTIFACT);
|
filter.getCardType().add(CardType.ARTIFACT);
|
|
@ -34,48 +34,45 @@ import java.util.UUID;
|
||||||
|
|
||||||
import mage.Constants;
|
import mage.Constants;
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
import mage.Constants.Duration;
|
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
import mage.Constants.Zone;
|
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.target.TargetPermanent;
|
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class TurntoSlag extends CardImpl<TurntoSlag> {
|
public class TurnToSlag extends CardImpl<TurnToSlag> {
|
||||||
|
|
||||||
public TurntoSlag (UUID ownerId) {
|
public TurnToSlag (UUID ownerId) {
|
||||||
super(ownerId, 106, "Turn to Slag", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{R}{R}");
|
super(ownerId, 106, "Turn to Slag", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{R}{R}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.color.setRed(true);
|
this.color.setRed(true);
|
||||||
this.getSpellAbility().addEffect(new TurntoSlagEffect());
|
this.getSpellAbility().addEffect(new TurnToSlagEffect());
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public TurntoSlag (final TurntoSlag card) {
|
public TurnToSlag (final TurnToSlag card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TurntoSlag copy() {
|
public TurnToSlag copy() {
|
||||||
return new TurntoSlag(this);
|
return new TurnToSlag(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class TurntoSlagEffect extends OneShotEffect<TurntoSlagEffect> {
|
class TurnToSlagEffect extends OneShotEffect<TurnToSlagEffect> {
|
||||||
|
|
||||||
public TurntoSlagEffect() {
|
public TurnToSlagEffect() {
|
||||||
super(Constants.Outcome.DestroyPermanent);
|
super(Constants.Outcome.DestroyPermanent);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TurntoSlagEffect(final TurntoSlagEffect effect) {
|
public TurnToSlagEffect(final TurnToSlagEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,8 +97,8 @@ class TurntoSlagEffect extends OneShotEffect<TurntoSlagEffect> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TurntoSlagEffect copy() {
|
public TurnToSlagEffect copy() {
|
||||||
return new TurntoSlagEffect(this);
|
return new TurnToSlagEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -32,19 +32,16 @@ import java.util.UUID;
|
||||||
|
|
||||||
import mage.Constants;
|
import mage.Constants;
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
import mage.Constants.Duration;
|
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
import mage.Constants.Zone;
|
import mage.Constants.Zone;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.TriggeredAbilityImpl;
|
import mage.abilities.TriggeredAbilityImpl;
|
||||||
import mage.abilities.costs.VariableCost;
|
import mage.abilities.costs.VariableCost;
|
||||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
import mage.abilities.costs.mana.VariableManaCost;
|
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.events.GameEvent;
|
import mage.game.events.GameEvent;
|
||||||
import mage.game.events.TableEvent;
|
|
||||||
import mage.game.events.ZoneChangeEvent;
|
import mage.game.events.ZoneChangeEvent;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
|
@ -53,38 +50,38 @@ import mage.players.Player;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class VigilfortheLost extends CardImpl<VigilfortheLost> {
|
public class VigilForTheLost extends CardImpl<VigilForTheLost> {
|
||||||
|
|
||||||
public VigilfortheLost (UUID ownerId) {
|
public VigilForTheLost (UUID ownerId) {
|
||||||
super(ownerId, 26, "Vigil for the Lost", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "{3}{W}");
|
super(ownerId, 26, "Vigil for the Lost", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "{3}{W}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.color.setWhite(true);
|
this.color.setWhite(true);
|
||||||
this.addAbility(new VigilfortheLostTriggeredAbility());
|
this.addAbility(new VigilForTheLostTriggeredAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public VigilfortheLost (final VigilfortheLost card) {
|
public VigilForTheLost (final VigilForTheLost card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VigilfortheLost copy() {
|
public VigilForTheLost copy() {
|
||||||
return new VigilfortheLost(this);
|
return new VigilForTheLost(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class VigilfortheLostTriggeredAbility extends TriggeredAbilityImpl<VigilfortheLostTriggeredAbility> {
|
class VigilForTheLostTriggeredAbility extends TriggeredAbilityImpl<VigilForTheLostTriggeredAbility> {
|
||||||
VigilfortheLostTriggeredAbility() {
|
VigilForTheLostTriggeredAbility() {
|
||||||
super(Zone.BATTLEFIELD, new VigilfortheLostEffect());
|
super(Zone.BATTLEFIELD, new VigilForTheLostEffect());
|
||||||
}
|
}
|
||||||
|
|
||||||
VigilfortheLostTriggeredAbility(final VigilfortheLostTriggeredAbility ability) {
|
VigilForTheLostTriggeredAbility(final VigilForTheLostTriggeredAbility ability) {
|
||||||
super(ability);
|
super(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VigilfortheLostTriggeredAbility copy() {
|
public VigilForTheLostTriggeredAbility copy() {
|
||||||
return new VigilfortheLostTriggeredAbility(this);
|
return new VigilForTheLostTriggeredAbility(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -106,12 +103,12 @@ class VigilfortheLostTriggeredAbility extends TriggeredAbilityImpl<VigilfortheLo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class VigilfortheLostEffect extends OneShotEffect<VigilfortheLostEffect> {
|
class VigilForTheLostEffect extends OneShotEffect<VigilForTheLostEffect> {
|
||||||
VigilfortheLostEffect() {
|
VigilForTheLostEffect() {
|
||||||
super(Constants.Outcome.GainLife);
|
super(Constants.Outcome.GainLife);
|
||||||
}
|
}
|
||||||
|
|
||||||
VigilfortheLostEffect(final VigilfortheLostEffect effect) {
|
VigilForTheLostEffect(final VigilForTheLostEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,8 +126,8 @@ class VigilfortheLostEffect extends OneShotEffect<VigilfortheLostEffect> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VigilfortheLostEffect copy() {
|
public VigilForTheLostEffect copy() {
|
||||||
return new VigilfortheLostEffect(this);
|
return new VigilForTheLostEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -45,9 +45,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class WallofTanglecord extends CardImpl<WallofTanglecord> {
|
public class WallOfTanglecord extends CardImpl<WallOfTanglecord> {
|
||||||
|
|
||||||
public WallofTanglecord (UUID ownerId) {
|
public WallOfTanglecord (UUID ownerId) {
|
||||||
super(ownerId, 222, "Wall of Tanglecord", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
|
super(ownerId, 222, "Wall of Tanglecord", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.subtype.add("Wall");
|
this.subtype.add("Wall");
|
||||||
|
@ -59,13 +59,13 @@ public class WallofTanglecord extends CardImpl<WallofTanglecord> {
|
||||||
new ManaCostsImpl("{G}")));
|
new ManaCostsImpl("{G}")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public WallofTanglecord (final WallofTanglecord card) {
|
public WallOfTanglecord (final WallOfTanglecord card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WallofTanglecord copy() {
|
public WallOfTanglecord copy() {
|
||||||
return new WallofTanglecord(this);
|
return new WallOfTanglecord(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -30,9 +30,7 @@ package mage.sets.shardsofalara;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
import mage.Constants.Duration;
|
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
import mage.Constants.Zone;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.mana.GreenManaAbility;
|
import mage.abilities.mana.GreenManaAbility;
|
||||||
import mage.abilities.mana.RedManaAbility;
|
import mage.abilities.mana.RedManaAbility;
|
||||||
|
@ -43,9 +41,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class DruidoftheAnima extends CardImpl<DruidoftheAnima> {
|
public class DruidOfTheAnima extends CardImpl<DruidOfTheAnima> {
|
||||||
|
|
||||||
public DruidoftheAnima (UUID ownerId) {
|
public DruidOfTheAnima (UUID ownerId) {
|
||||||
super(ownerId, 128, "Druid of the Anima", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
super(ownerId, 128, "Druid of the Anima", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.subtype.add("Elf");
|
this.subtype.add("Elf");
|
||||||
|
@ -58,12 +56,12 @@ public class DruidoftheAnima extends CardImpl<DruidoftheAnima> {
|
||||||
this.addAbility(new WhiteManaAbility());
|
this.addAbility(new WhiteManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public DruidoftheAnima (final DruidoftheAnima card) {
|
public DruidOfTheAnima (final DruidOfTheAnima card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DruidoftheAnima copy() {
|
public DruidOfTheAnima copy() {
|
||||||
return new DruidoftheAnima(this);
|
return new DruidOfTheAnima(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -40,9 +40,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class GuardiansofAkrasa extends CardImpl<GuardiansofAkrasa> {
|
public class GuardiansOfAkrasa extends CardImpl<GuardiansOfAkrasa> {
|
||||||
|
|
||||||
public GuardiansofAkrasa (UUID ownerId) {
|
public GuardiansOfAkrasa (UUID ownerId) {
|
||||||
super(ownerId, 12, "Guardians of Akrasa", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
super(ownerId, 12, "Guardians of Akrasa", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
|
@ -54,12 +54,12 @@ public class GuardiansofAkrasa extends CardImpl<GuardiansofAkrasa> {
|
||||||
this.addAbility(new ExaltedAbility());
|
this.addAbility(new ExaltedAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public GuardiansofAkrasa (final GuardiansofAkrasa card) {
|
public GuardiansOfAkrasa (final GuardiansOfAkrasa card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GuardiansofAkrasa copy() {
|
public GuardiansOfAkrasa copy() {
|
||||||
return new GuardiansofAkrasa(this);
|
return new GuardiansOfAkrasa(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ObeliskofBant extends CardImpl<ObeliskofBant> {
|
public class ObeliskOfBant extends CardImpl<ObeliskOfBant> {
|
||||||
|
|
||||||
public ObeliskofBant (UUID ownerId) {
|
public ObeliskOfBant (UUID ownerId) {
|
||||||
super(ownerId, 212, "Obelisk of Bant", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 212, "Obelisk of Bant", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.addAbility(new GreenManaAbility());
|
this.addAbility(new GreenManaAbility());
|
||||||
|
@ -52,12 +52,12 @@ public class ObeliskofBant extends CardImpl<ObeliskofBant> {
|
||||||
this.addAbility(new BlueManaAbility());
|
this.addAbility(new BlueManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObeliskofBant (final ObeliskofBant card) {
|
public ObeliskOfBant (final ObeliskOfBant card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObeliskofBant copy() {
|
public ObeliskOfBant copy() {
|
||||||
return new ObeliskofBant(this);
|
return new ObeliskOfBant(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ObeliskofEsper extends CardImpl<ObeliskofEsper> {
|
public class ObeliskOfEsper extends CardImpl<ObeliskOfEsper> {
|
||||||
|
|
||||||
public ObeliskofEsper (UUID ownerId) {
|
public ObeliskOfEsper (UUID ownerId) {
|
||||||
super(ownerId, 213, "Obelisk of Esper", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 213, "Obelisk of Esper", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.addAbility(new WhiteManaAbility());
|
this.addAbility(new WhiteManaAbility());
|
||||||
|
@ -52,12 +52,12 @@ public class ObeliskofEsper extends CardImpl<ObeliskofEsper> {
|
||||||
this.addAbility(new BlackManaAbility());
|
this.addAbility(new BlackManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObeliskofEsper (final ObeliskofEsper card) {
|
public ObeliskOfEsper (final ObeliskOfEsper card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObeliskofEsper copy() {
|
public ObeliskOfEsper copy() {
|
||||||
return new ObeliskofEsper(this);
|
return new ObeliskOfEsper(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ObeliskofGrixis extends CardImpl<ObeliskofGrixis> {
|
public class ObeliskOfGrixis extends CardImpl<ObeliskOfGrixis> {
|
||||||
|
|
||||||
public ObeliskofGrixis (UUID ownerId) {
|
public ObeliskOfGrixis (UUID ownerId) {
|
||||||
super(ownerId, 214, "Obelisk of Grixis", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 214, "Obelisk of Grixis", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.addAbility(new BlueManaAbility());
|
this.addAbility(new BlueManaAbility());
|
||||||
|
@ -52,12 +52,12 @@ public class ObeliskofGrixis extends CardImpl<ObeliskofGrixis> {
|
||||||
this.addAbility(new RedManaAbility());
|
this.addAbility(new RedManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObeliskofGrixis (final ObeliskofGrixis card) {
|
public ObeliskOfGrixis (final ObeliskOfGrixis card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObeliskofGrixis copy() {
|
public ObeliskOfGrixis copy() {
|
||||||
return new ObeliskofGrixis(this);
|
return new ObeliskOfGrixis(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ObeliskofJund extends CardImpl<ObeliskofJund> {
|
public class ObeliskOfJund extends CardImpl<ObeliskOfJund> {
|
||||||
|
|
||||||
public ObeliskofJund (UUID ownerId) {
|
public ObeliskOfJund (UUID ownerId) {
|
||||||
super(ownerId, 215, "Obelisk of Jund", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 215, "Obelisk of Jund", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.addAbility(new BlackManaAbility());
|
this.addAbility(new BlackManaAbility());
|
||||||
|
@ -52,12 +52,12 @@ public class ObeliskofJund extends CardImpl<ObeliskofJund> {
|
||||||
this.addAbility(new GreenManaAbility());
|
this.addAbility(new GreenManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObeliskofJund (final ObeliskofJund card) {
|
public ObeliskOfJund (final ObeliskOfJund card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObeliskofJund copy() {
|
public ObeliskOfJund copy() {
|
||||||
return new ObeliskofJund(this);
|
return new ObeliskOfJund(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -42,9 +42,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ObeliskofNaya extends CardImpl<ObeliskofNaya> {
|
public class ObeliskOfNaya extends CardImpl<ObeliskOfNaya> {
|
||||||
|
|
||||||
public ObeliskofNaya (UUID ownerId) {
|
public ObeliskOfNaya (UUID ownerId) {
|
||||||
super(ownerId, 216, "Obelisk of Naya", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
super(ownerId, 216, "Obelisk of Naya", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.addAbility(new RedManaAbility());
|
this.addAbility(new RedManaAbility());
|
||||||
|
@ -52,12 +52,12 @@ public class ObeliskofNaya extends CardImpl<ObeliskofNaya> {
|
||||||
this.addAbility(new WhiteManaAbility());
|
this.addAbility(new WhiteManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObeliskofNaya (final ObeliskofNaya card) {
|
public ObeliskOfNaya (final ObeliskOfNaya card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObeliskofNaya copy() {
|
public ObeliskOfNaya copy() {
|
||||||
return new ObeliskofNaya(this);
|
return new ObeliskOfNaya(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -39,9 +39,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class OutriderofJhess extends CardImpl<OutriderofJhess> {
|
public class OutriderOfJhess extends CardImpl<OutriderOfJhess> {
|
||||||
|
|
||||||
public OutriderofJhess (UUID ownerId) {
|
public OutriderOfJhess (UUID ownerId) {
|
||||||
super(ownerId, 52, "Outrider of Jhess", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
super(ownerId, 52, "Outrider of Jhess", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
|
@ -52,12 +52,12 @@ public class OutriderofJhess extends CardImpl<OutriderofJhess> {
|
||||||
this.addAbility(new ExaltedAbility());
|
this.addAbility(new ExaltedAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public OutriderofJhess (final OutriderofJhess card) {
|
public OutriderOfJhess (final OutriderOfJhess card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public OutriderofJhess copy() {
|
public OutriderOfJhess copy() {
|
||||||
return new OutriderofJhess(this);
|
return new OutriderOfJhess(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -30,8 +30,8 @@ package mage.sets.shardsofalara;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import mage.Constants;
|
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
|
import mage.Constants.Outcome;
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
import mage.Constants.Zone;
|
import mage.Constants.Zone;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
|
@ -51,35 +51,34 @@ import mage.game.permanent.Permanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class SigilofDistinction extends CardImpl<SigilofDistinction> {
|
public class SigilOfDistinction extends CardImpl<SigilOfDistinction> {
|
||||||
|
|
||||||
public SigilofDistinction (UUID ownerId) {
|
public SigilOfDistinction (UUID ownerId) {
|
||||||
super(ownerId, 219, "Sigil of Distinction", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{X}");
|
super(ownerId, 219, "Sigil of Distinction", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{X}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.subtype.add("Equipment");
|
this.subtype.add("Equipment");
|
||||||
this.addAbility(new EntersBattlefieldAbility(new SigilofDistinctionEffect(), "Sigil of Distinction enters the battlefield with X charge counters on it"));
|
this.addAbility(new EntersBattlefieldAbility(new SigilOfDistinctionEffect(), "Sigil of Distinction enters the battlefield with X charge counters on it"));
|
||||||
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new RemoveCountersSourceCost(CounterType.CHARGE.createInstance())));
|
this.addAbility(new EquipAbility(Outcome.AddAbility, new RemoveCountersSourceCost(CounterType.CHARGE.createInstance())));
|
||||||
BoostEquippedEffect effect = new BoostEquippedEffect(new CountersCount(CounterType.CHARGE), new CountersCount(CounterType.CHARGE));
|
BoostEquippedEffect effect = new BoostEquippedEffect(new CountersCount(CounterType.CHARGE), new CountersCount(CounterType.CHARGE));
|
||||||
effect.setStaticText("Equipped creature gets +1/+1 for each charge counter on Sigil of Distinction");
|
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SigilofDistinction (final SigilofDistinction card) {
|
public SigilOfDistinction (final SigilOfDistinction card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SigilofDistinction copy() {
|
public SigilOfDistinction copy() {
|
||||||
return new SigilofDistinction(this);
|
return new SigilOfDistinction(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SigilofDistinctionEffect extends OneShotEffect<SigilofDistinctionEffect> {
|
class SigilOfDistinctionEffect extends OneShotEffect<SigilOfDistinctionEffect> {
|
||||||
public SigilofDistinctionEffect() {
|
public SigilOfDistinctionEffect() {
|
||||||
super(Constants.Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SigilofDistinctionEffect(final SigilofDistinctionEffect effect) {
|
public SigilOfDistinctionEffect(final SigilOfDistinctionEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +94,7 @@ class SigilofDistinctionEffect extends OneShotEffect<SigilofDistinctionEffect> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SigilofDistinctionEffect copy() {
|
public SigilOfDistinctionEffect copy() {
|
||||||
return new SigilofDistinctionEffect(this);
|
return new SigilOfDistinctionEffect(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -40,9 +40,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class StewardofValeron extends CardImpl<StewardofValeron> {
|
public class StewardOfValeron extends CardImpl<StewardOfValeron> {
|
||||||
|
|
||||||
public StewardofValeron (UUID ownerId) {
|
public StewardOfValeron (UUID ownerId) {
|
||||||
super(ownerId, 198, "Steward of Valeron", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{G}{W}");
|
super(ownerId, 198, "Steward of Valeron", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{G}{W}");
|
||||||
this.expansionSetCode = "ALA";
|
this.expansionSetCode = "ALA";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
|
@ -56,12 +56,12 @@ public class StewardofValeron extends CardImpl<StewardofValeron> {
|
||||||
this.addAbility(new GreenManaAbility());
|
this.addAbility(new GreenManaAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
public StewardofValeron (final StewardofValeron card) {
|
public StewardOfValeron (final StewardOfValeron card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public StewardofValeron copy() {
|
public StewardOfValeron copy() {
|
||||||
return new StewardofValeron(this);
|
return new StewardOfValeron(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -47,7 +47,7 @@ import mage.game.permanent.token.PlantToken;
|
||||||
*
|
*
|
||||||
* @author Loki, nantuko, North
|
* @author Loki, nantuko, North
|
||||||
*/
|
*/
|
||||||
public class AvengerofZendikar extends CardImpl<AvengerofZendikar> {
|
public class AvengerOfZendikar extends CardImpl<AvengerOfZendikar> {
|
||||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Plant creature you control");
|
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Plant creature you control");
|
||||||
private static final FilterControlledPermanent filterLand = new FilterControlledPermanent("land you control");
|
private static final FilterControlledPermanent filterLand = new FilterControlledPermanent("land you control");
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ public class AvengerofZendikar extends CardImpl<AvengerofZendikar> {
|
||||||
filterLand.getCardType().add(CardType.LAND);
|
filterLand.getCardType().add(CardType.LAND);
|
||||||
}
|
}
|
||||||
|
|
||||||
public AvengerofZendikar (UUID ownerId) {
|
public AvengerOfZendikar (UUID ownerId) {
|
||||||
super(ownerId, 96, "Avenger of Zendikar", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{5}{G}{G}");
|
super(ownerId, 96, "Avenger of Zendikar", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{5}{G}{G}");
|
||||||
this.expansionSetCode = "WWK";
|
this.expansionSetCode = "WWK";
|
||||||
this.subtype.add("Elemental");
|
this.subtype.add("Elemental");
|
||||||
|
@ -71,12 +71,12 @@ public class AvengerofZendikar extends CardImpl<AvengerofZendikar> {
|
||||||
this.addAbility(new LandfallAbility(new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter), true));
|
this.addAbility(new LandfallAbility(new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
public AvengerofZendikar (final AvengerofZendikar card) {
|
public AvengerOfZendikar (final AvengerOfZendikar card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AvengerofZendikar copy() {
|
public AvengerOfZendikar copy() {
|
||||||
return new AvengerofZendikar(this);
|
return new AvengerOfZendikar(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -51,7 +51,7 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki, North
|
* @author Loki, North
|
||||||
*/
|
*/
|
||||||
public class ClawsofValakut extends CardImpl<ClawsofValakut> {
|
public class ClawsOfValakut extends CardImpl<ClawsOfValakut> {
|
||||||
|
|
||||||
private static final FilterLandPermanent filter = new FilterLandPermanent("Mountain you control");
|
private static final FilterLandPermanent filter = new FilterLandPermanent("Mountain you control");
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ public class ClawsofValakut extends CardImpl<ClawsofValakut> {
|
||||||
filter.setTargetController(Constants.TargetController.YOU);
|
filter.setTargetController(Constants.TargetController.YOU);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ClawsofValakut (UUID ownerId) {
|
public ClawsOfValakut (UUID ownerId) {
|
||||||
super(ownerId, 75, "Claws of Valakut", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}{R}");
|
super(ownerId, 75, "Claws of Valakut", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}{R}");
|
||||||
this.expansionSetCode = "WWK";
|
this.expansionSetCode = "WWK";
|
||||||
this.subtype.add("Aura");
|
this.subtype.add("Aura");
|
||||||
|
@ -77,13 +77,13 @@ public class ClawsofValakut extends CardImpl<ClawsofValakut> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ClawsofValakut (final ClawsofValakut card) {
|
public ClawsOfValakut (final ClawsOfValakut card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ClawsofValakut copy() {
|
public ClawsOfValakut copy() {
|
||||||
return new ClawsofValakut(this);
|
return new ClawsOfValakut(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -53,7 +53,7 @@ import mage.target.common.TargetCardInLibrary;
|
||||||
*
|
*
|
||||||
* @author maurer.it_at_gmail.com
|
* @author maurer.it_at_gmail.com
|
||||||
*/
|
*/
|
||||||
public class EyeofUgin extends CardImpl<EyeofUgin> {
|
public class EyeOfUgin extends CardImpl<EyeOfUgin> {
|
||||||
|
|
||||||
private static final FilterCreatureCard filter;
|
private static final FilterCreatureCard filter;
|
||||||
|
|
||||||
|
@ -63,37 +63,37 @@ public class EyeofUgin extends CardImpl<EyeofUgin> {
|
||||||
filter.setUseColorless(true);
|
filter.setUseColorless(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public EyeofUgin (UUID ownerId) {
|
public EyeOfUgin (UUID ownerId) {
|
||||||
super(ownerId, 136, "Eye of Ugin", Rarity.MYTHIC, new CardType[]{CardType.LAND}, null);
|
super(ownerId, 136, "Eye of Ugin", Rarity.MYTHIC, new CardType[]{CardType.LAND}, null);
|
||||||
this.expansionSetCode = "WWK";
|
this.expansionSetCode = "WWK";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
this.subtype.add("Land");
|
this.subtype.add("Land");
|
||||||
|
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new EyeofUginCostReductionEffect()));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new EyeOfUginCostReductionEffect()));
|
||||||
Ability searchAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryRevealPutInHandEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
|
Ability searchAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryRevealPutInHandEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
|
||||||
searchAbility.addCost(new ManaCostsImpl("{7}"));
|
searchAbility.addCost(new ManaCostsImpl("{7}"));
|
||||||
this.addAbility(searchAbility);
|
this.addAbility(searchAbility);
|
||||||
}
|
}
|
||||||
|
|
||||||
public EyeofUgin (final EyeofUgin card) {
|
public EyeOfUgin (final EyeOfUgin card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EyeofUgin copy() {
|
public EyeOfUgin copy() {
|
||||||
return new EyeofUgin(this);
|
return new EyeOfUgin(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class EyeofUginCostReductionEffect extends CostModificationEffectImpl<EyeofUginCostReductionEffect> {
|
class EyeOfUginCostReductionEffect extends CostModificationEffectImpl<EyeOfUginCostReductionEffect> {
|
||||||
|
|
||||||
private static final String effectText = "Colorless Eldrazi spells you cast cost {2} less to cast";
|
private static final String effectText = "Colorless Eldrazi spells you cast cost {2} less to cast";
|
||||||
|
|
||||||
EyeofUginCostReductionEffect ( ) {
|
EyeOfUginCostReductionEffect ( ) {
|
||||||
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
||||||
}
|
}
|
||||||
|
|
||||||
EyeofUginCostReductionEffect(EyeofUginCostReductionEffect effect) {
|
EyeOfUginCostReductionEffect(EyeOfUginCostReductionEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,8 +122,8 @@ class EyeofUginCostReductionEffect extends CostModificationEffectImpl<EyeofUginC
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EyeofUginCostReductionEffect copy() {
|
public EyeOfUginCostReductionEffect copy() {
|
||||||
return new EyeofUginCostReductionEffect(this);
|
return new EyeOfUginCostReductionEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -30,13 +30,13 @@ package mage.sets.worldwake;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import mage.Constants;
|
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
|
import mage.Constants.Outcome;
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
|
import mage.Constants.Zone;
|
||||||
import mage.abilities.TriggeredAbilityImpl;
|
import mage.abilities.TriggeredAbilityImpl;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.costs.mana.GenericManaCost;
|
import mage.abilities.costs.mana.GenericManaCost;
|
||||||
import mage.abilities.effects.Effect;
|
|
||||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||||
import mage.abilities.effects.common.continious.BoostEquippedEffect;
|
import mage.abilities.effects.common.continious.BoostEquippedEffect;
|
||||||
import mage.abilities.keyword.EquipAbility;
|
import mage.abilities.keyword.EquipAbility;
|
||||||
|
@ -47,51 +47,50 @@ import mage.game.events.DamagedPlayerEvent;
|
||||||
import mage.game.events.GameEvent;
|
import mage.game.events.GameEvent;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.target.TargetPermanent;
|
import mage.target.TargetPermanent;
|
||||||
import mage.target.targetpointer.FixedTarget;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class HammerofRuin extends CardImpl<HammerofRuin> {
|
public class HammerOfRuin extends CardImpl<HammerOfRuin> {
|
||||||
|
|
||||||
public HammerofRuin (UUID ownerId) {
|
public HammerOfRuin (UUID ownerId) {
|
||||||
super(ownerId, 124, "Hammer of Ruin", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
super(ownerId, 124, "Hammer of Ruin", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||||
this.expansionSetCode = "WWK";
|
this.expansionSetCode = "WWK";
|
||||||
this.subtype.add("Equipment");
|
this.subtype.add("Equipment");
|
||||||
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new BoostEquippedEffect(2, 0)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(2, 0)));
|
||||||
this.addAbility(new HammerofRuinTriggeredAbility());
|
this.addAbility(new HammerOfRuinTriggeredAbility());
|
||||||
this.addAbility(new EquipAbility(Constants.Outcome.AddAbility, new GenericManaCost(2)));
|
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public HammerofRuin (final HammerofRuin card) {
|
public HammerOfRuin (final HammerOfRuin card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public HammerofRuin copy() {
|
public HammerOfRuin copy() {
|
||||||
return new HammerofRuin(this);
|
return new HammerOfRuin(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class HammerofRuinTriggeredAbility extends TriggeredAbilityImpl<HammerofRuinTriggeredAbility> {
|
class HammerOfRuinTriggeredAbility extends TriggeredAbilityImpl<HammerOfRuinTriggeredAbility> {
|
||||||
|
|
||||||
HammerofRuinTriggeredAbility() {
|
HammerOfRuinTriggeredAbility() {
|
||||||
super(Constants.Zone.BATTLEFIELD, new DestroyTargetEffect(), true);
|
super(Zone.BATTLEFIELD, new DestroyTargetEffect(), true);
|
||||||
FilterPermanent filter = new FilterPermanent("Equipment that player controls");
|
FilterPermanent filter = new FilterPermanent("Equipment that player controls");
|
||||||
filter.getSubtype().add("Equipment");
|
filter.getSubtype().add("Equipment");
|
||||||
filter.setScopeSupertype(mage.filter.Filter.ComparisonScope.Any);
|
filter.setScopeSupertype(mage.filter.Filter.ComparisonScope.Any);
|
||||||
this.addTarget(new TargetPermanent(filter));
|
this.addTarget(new TargetPermanent(filter));
|
||||||
}
|
}
|
||||||
|
|
||||||
HammerofRuinTriggeredAbility(final HammerofRuinTriggeredAbility ability) {
|
HammerOfRuinTriggeredAbility(final HammerOfRuinTriggeredAbility ability) {
|
||||||
super(ability);
|
super(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public HammerofRuinTriggeredAbility copy() {
|
public HammerOfRuinTriggeredAbility copy() {
|
||||||
return new HammerofRuinTriggeredAbility(this);
|
return new HammerOfRuinTriggeredAbility(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -39,22 +39,22 @@ import mage.game.permanent.token.SoldierToken;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class JointheRanks extends CardImpl<JointheRanks> {
|
public class JoinTheRanks extends CardImpl<JoinTheRanks> {
|
||||||
|
|
||||||
public JointheRanks (UUID ownerId) {
|
public JoinTheRanks (UUID ownerId) {
|
||||||
super(ownerId, 9, "Join the Ranks", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{W}");
|
super(ownerId, 9, "Join the Ranks", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{W}");
|
||||||
this.expansionSetCode = "WWK";
|
this.expansionSetCode = "WWK";
|
||||||
this.color.setWhite(true);
|
this.color.setWhite(true);
|
||||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new SoldierToken(), 2));
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new SoldierToken(), 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public JointheRanks (final JointheRanks card) {
|
public JoinTheRanks (final JoinTheRanks card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public JointheRanks copy() {
|
public JoinTheRanks copy() {
|
||||||
return new JointheRanks(this);
|
return new JoinTheRanks(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -47,9 +47,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class CallerofGales extends CardImpl<CallerofGales> {
|
public class CallerOfGales extends CardImpl<CallerOfGales> {
|
||||||
|
|
||||||
public CallerofGales (UUID ownerId) {
|
public CallerOfGales (UUID ownerId) {
|
||||||
super(ownerId, 43, "Caller of Gales", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{U}");
|
super(ownerId, 43, "Caller of Gales", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{U}");
|
||||||
this.expansionSetCode = "ZEN";
|
this.expansionSetCode = "ZEN";
|
||||||
this.subtype.add("Merfolk");
|
this.subtype.add("Merfolk");
|
||||||
|
@ -63,12 +63,12 @@ public class CallerofGales extends CardImpl<CallerofGales> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public CallerofGales (final CallerofGales card) {
|
public CallerOfGales (final CallerOfGales card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CallerofGales copy() {
|
public CallerOfGales copy() {
|
||||||
return new CallerofGales(this);
|
return new CallerOfGales(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -45,7 +45,7 @@ import mage.target.TargetPlayer;
|
||||||
*
|
*
|
||||||
* @author maurer.it_at_gmail.com
|
* @author maurer.it_at_gmail.com
|
||||||
*/
|
*/
|
||||||
public class GatekeeperofMalakir extends CardImpl<GatekeeperofMalakir> {
|
public class GatekeeperOfMalakir extends CardImpl<GatekeeperOfMalakir> {
|
||||||
|
|
||||||
private static final FilterControlledPermanent filter;
|
private static final FilterControlledPermanent filter;
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ public class GatekeeperofMalakir extends CardImpl<GatekeeperofMalakir> {
|
||||||
filter.setMessage(" a creature");
|
filter.setMessage(" a creature");
|
||||||
}
|
}
|
||||||
|
|
||||||
public GatekeeperofMalakir(UUID ownerId) {
|
public GatekeeperOfMalakir(UUID ownerId) {
|
||||||
super(ownerId, 89, "Gatekeeper of Malakir", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{B}{B}");
|
super(ownerId, 89, "Gatekeeper of Malakir", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{B}{B}");
|
||||||
this.expansionSetCode = "ZEN";
|
this.expansionSetCode = "ZEN";
|
||||||
this.subtype.add("Vampire");
|
this.subtype.add("Vampire");
|
||||||
|
@ -73,12 +73,12 @@ public class GatekeeperofMalakir extends CardImpl<GatekeeperofMalakir> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GatekeeperofMalakir(final GatekeeperofMalakir card) {
|
public GatekeeperOfMalakir(final GatekeeperOfMalakir card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GatekeeperofMalakir copy() {
|
public GatekeeperOfMalakir copy() {
|
||||||
return new GatekeeperofMalakir(this);
|
return new GatekeeperOfMalakir(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -46,9 +46,9 @@ import mage.target.TargetPermanent;
|
||||||
*
|
*
|
||||||
* @author maurer.it_at_gmail.com
|
* @author maurer.it_at_gmail.com
|
||||||
*/
|
*/
|
||||||
public class JourneytoNowhere extends CardImpl<JourneytoNowhere> {
|
public class JourneyToNowhere extends CardImpl<JourneyToNowhere> {
|
||||||
|
|
||||||
public JourneytoNowhere(UUID ownerId) {
|
public JourneyToNowhere(UUID ownerId) {
|
||||||
super(ownerId, 14, "Journey to Nowhere", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}");
|
super(ownerId, 14, "Journey to Nowhere", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}");
|
||||||
this.expansionSetCode = "ZEN";
|
this.expansionSetCode = "ZEN";
|
||||||
this.color.setWhite(true);
|
this.color.setWhite(true);
|
||||||
|
@ -64,13 +64,13 @@ public class JourneytoNowhere extends CardImpl<JourneytoNowhere> {
|
||||||
this.addAbility(ability2);
|
this.addAbility(ability2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public JourneytoNowhere(final JourneytoNowhere card) {
|
public JourneyToNowhere(final JourneyToNowhere card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public JourneytoNowhere copy() {
|
public JourneyToNowhere copy() {
|
||||||
return new JourneytoNowhere(this);
|
return new JourneyToNowhere(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -45,9 +45,9 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author maurer.it_at_gmail.com
|
* @author maurer.it_at_gmail.com
|
||||||
*/
|
*/
|
||||||
public class MarkofMutiny extends CardImpl<MarkofMutiny> {
|
public class MarkOfMutiny extends CardImpl<MarkOfMutiny> {
|
||||||
|
|
||||||
public MarkofMutiny (UUID ownerId) {
|
public MarkOfMutiny (UUID ownerId) {
|
||||||
super(ownerId, 137, "Mark of Mutiny", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{R}");
|
super(ownerId, 137, "Mark of Mutiny", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{R}");
|
||||||
this.expansionSetCode = "ZEN";
|
this.expansionSetCode = "ZEN";
|
||||||
|
|
||||||
|
@ -59,13 +59,13 @@ public class MarkofMutiny extends CardImpl<MarkofMutiny> {
|
||||||
this.getSpellAbility().addEffect(new UntapTargetEffect());
|
this.getSpellAbility().addEffect(new UntapTargetEffect());
|
||||||
}
|
}
|
||||||
|
|
||||||
public MarkofMutiny (final MarkofMutiny card) {
|
public MarkOfMutiny (final MarkOfMutiny card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public MarkofMutiny copy() {
|
public MarkOfMutiny copy() {
|
||||||
return new MarkofMutiny(this);
|
return new MarkOfMutiny(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -45,9 +45,9 @@ import mage.target.TargetPlayer;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ObNixilistheFallen extends CardImpl<ObNixilistheFallen> {
|
public class ObNixilisTheFallen extends CardImpl<ObNixilisTheFallen> {
|
||||||
|
|
||||||
public ObNixilistheFallen (UUID ownerId) {
|
public ObNixilisTheFallen (UUID ownerId) {
|
||||||
super(ownerId, 107, "Ob Nixilis, the Fallen", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
super(ownerId, 107, "Ob Nixilis, the Fallen", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
||||||
this.expansionSetCode = "ZEN";
|
this.expansionSetCode = "ZEN";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -62,12 +62,12 @@ public class ObNixilistheFallen extends CardImpl<ObNixilistheFallen> {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObNixilistheFallen (final ObNixilistheFallen card) {
|
public ObNixilisTheFallen (final ObNixilisTheFallen card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObNixilistheFallen copy() {
|
public ObNixilisTheFallen copy() {
|
||||||
return new ObNixilistheFallen(this);
|
return new ObNixilisTheFallen(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -41,9 +41,9 @@ import mage.cards.CardImpl;
|
||||||
*
|
*
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class ShepherdoftheLost extends CardImpl<ShepherdoftheLost> {
|
public class ShepherdOfTheLost extends CardImpl<ShepherdOfTheLost> {
|
||||||
|
|
||||||
public ShepherdoftheLost (UUID ownerId) {
|
public ShepherdOfTheLost (UUID ownerId) {
|
||||||
super(ownerId, 34, "Shepherd of the Lost", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{4}{W}");
|
super(ownerId, 34, "Shepherd of the Lost", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{4}{W}");
|
||||||
this.expansionSetCode = "ZEN";
|
this.expansionSetCode = "ZEN";
|
||||||
this.subtype.add("Angel");
|
this.subtype.add("Angel");
|
||||||
|
@ -55,12 +55,12 @@ public class ShepherdoftheLost extends CardImpl<ShepherdoftheLost> {
|
||||||
this.addAbility(VigilanceAbility.getInstance());
|
this.addAbility(VigilanceAbility.getInstance());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShepherdoftheLost (final ShepherdoftheLost card) {
|
public ShepherdOfTheLost (final ShepherdOfTheLost card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ShepherdoftheLost copy() {
|
public ShepherdOfTheLost copy() {
|
||||||
return new ShepherdoftheLost(this);
|
return new ShepherdOfTheLost(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue