Set the color of all cards with color indicators

This commit is contained in:
Ryan Worcester 2014-12-11 20:40:04 -06:00
parent 68f2b65c34
commit 9686d38d1a
17 changed files with 20 additions and 1 deletions

View file

@ -66,6 +66,7 @@ public class ArchdemonOfGreed extends CardImpl {
super(ownerId, 71, "Archdemon of Greed", Rarity.RARE, new CardType[]{CardType.CREATURE}, ""); super(ownerId, 71, "Archdemon of Greed", Rarity.RARE, new CardType[]{CardType.CREATURE}, "");
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Demon"); this.subtype.add("Demon");
this.color.setBlack(true);
this.nightCard = true; this.nightCard = true;
this.canTransform = true; this.canTransform = true;

View file

@ -48,6 +48,7 @@ public class GhastlyHaunting extends CardImpl {
super(ownerId, 50, "Ghastly Haunting", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, ""); super(ownerId, 50, "Ghastly Haunting", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "");
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Aura"); this.subtype.add("Aura");
this.color.setBlue(true);
// this card is the second face of double-faced card // this card is the second face of double-faced card
this.nightCard = true; this.nightCard = true;

View file

@ -54,6 +54,7 @@ public class HinterlandScourge extends CardImpl {
super(ownerId, 94, "Hinterland Scourge", Rarity.COMMON, new CardType[]{CardType.CREATURE}, ""); super(ownerId, 94, "Hinterland Scourge", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "");
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Werewolf"); this.subtype.add("Werewolf");
this.color.setRed(true);
// this card is the second face of double-faced card of Hinterland Hermit // this card is the second face of double-faced card of Hinterland Hermit
this.nightCard = true; this.nightCard = true;

View file

@ -52,6 +52,7 @@ public class KrallenhordeKiller extends CardImpl {
super(ownerId, 133, "Krallenhorde Killer", Rarity.RARE, new CardType[]{CardType.CREATURE}, ""); super(ownerId, 133, "Krallenhorde Killer", Rarity.RARE, new CardType[]{CardType.CREATURE}, "");
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Werewolf"); this.subtype.add("Werewolf");
this.color.setGreen(true);
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(2); this.toughness = new MageInt(2);

View file

@ -43,6 +43,7 @@ public class MarkovsServant extends CardImpl {
super(ownerId, 55, "Markov's Servant", Rarity.COMMON, new CardType[]{CardType.CREATURE}, null); super(ownerId, 55, "Markov's Servant", Rarity.COMMON, new CardType[]{CardType.CREATURE}, null);
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Vampire"); this.subtype.add("Vampire");
this.color.setBlack(true);
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(4); this.toughness = new MageInt(4);

View file

@ -57,6 +57,8 @@ public class RavagerOfTheFells extends CardImpl {
super(ownerId, 140, "Ravager of the Fells", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, ""); super(ownerId, 140, "Ravager of the Fells", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "");
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Werewolf"); this.subtype.add("Werewolf");
this.color.setRed(true);
this.color.setGreen(true);
// this card is the second face of double-faced card // this card is the second face of double-faced card
this.nightCard = true; this.nightCard = true;

View file

@ -53,6 +53,7 @@ public class SilverpeltWerewolf extends CardImpl {
super(ownerId, 122, "Silverpelt Werewolf", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, null); super(ownerId, 122, "Silverpelt Werewolf", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, null);
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Werewolf"); this.subtype.add("Werewolf");
this.color.setGreen(true);
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(5); this.toughness = new MageInt(5);

View file

@ -45,6 +45,7 @@ public class UnhallowedCathar extends CardImpl {
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Zombie"); this.subtype.add("Zombie");
this.subtype.add("Soldier"); this.subtype.add("Soldier");
this.color.setBlack(true);
// this card is the second face of double-faced card // this card is the second face of double-faced card
this.nightCard = true; this.nightCard = true;

View file

@ -62,6 +62,7 @@ public class WerewolfRansacker extends CardImpl {
super(ownerId, 81, "Werewolf Ransacker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, ""); super(ownerId, 81, "Werewolf Ransacker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "");
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.subtype.add("Werewolf"); this.subtype.add("Werewolf");
this.color.setRed(true);
// this card is the second face of double-faced card // this card is the second face of double-faced card
this.nightCard = true; this.nightCard = true;

View file

@ -54,6 +54,7 @@ public class WithengarUnbound extends CardImpl {
this.expansionSetCode = "DKA"; this.expansionSetCode = "DKA";
this.supertype.add("Legendary"); this.supertype.add("Legendary");
this.subtype.add("Demon"); this.subtype.add("Demon");
this.color.setBlack(true);
// this card is the second face of double-faced card // this card is the second face of double-faced card
this.nightCard = true; this.nightCard = true;

View file

@ -45,6 +45,7 @@ public class LudevicsAbomination extends CardImpl {
this.expansionSetCode = "ISD"; this.expansionSetCode = "ISD";
this.subtype.add("Lizard"); this.subtype.add("Lizard");
this.subtype.add("Horror"); this.subtype.add("Horror");
this.color.setBlue(true);
// this card is the second face of double-faced card // this card is the second face of double-faced card
this.nightCard = true; this.nightCard = true;

View file

@ -42,6 +42,7 @@ public class CrimsonKobolds extends CardImpl {
public CrimsonKobolds(UUID ownerId) { public CrimsonKobolds(UUID ownerId) {
super(ownerId, 219, "Crimson Kobolds", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}"); super(ownerId, 219, "Crimson Kobolds", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}");
this.expansionSetCode = "LEG"; this.expansionSetCode = "LEG";
this.color.setRed(true);
this.subtype.add("Kobold"); this.subtype.add("Kobold");
this.power = new MageInt(0); this.power = new MageInt(0);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);

View file

@ -42,6 +42,7 @@ public class CrookshankKobolds extends CardImpl {
public CrookshankKobolds(UUID ownerId) { public CrookshankKobolds(UUID ownerId) {
super(ownerId, 220, "Crookshank Kobolds", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}"); super(ownerId, 220, "Crookshank Kobolds", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}");
this.expansionSetCode = "LEG"; this.expansionSetCode = "LEG";
this.color.setRed(true);
this.subtype.add("Kobold"); this.subtype.add("Kobold");
this.power = new MageInt(0); this.power = new MageInt(0);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);

View file

@ -42,6 +42,7 @@ public class KoboldsOfKherKeep extends CardImpl {
public KoboldsOfKherKeep(UUID ownerId) { public KoboldsOfKherKeep(UUID ownerId) {
super(ownerId, 226, "Kobolds of Kher Keep", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}"); super(ownerId, 226, "Kobolds of Kher Keep", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}");
this.expansionSetCode = "LEG"; this.expansionSetCode = "LEG";
this.color.setRed(true);
this.subtype.add("Kobold"); this.subtype.add("Kobold");
this.power = new MageInt(0); this.power = new MageInt(0);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);

View file

@ -56,7 +56,7 @@ public class LivingEnd extends CardImpl {
super(ownerId, 115, "Living End", Rarity.RARE, new CardType[]{CardType.SORCERY}, ""); super(ownerId, 115, "Living End", Rarity.RARE, new CardType[]{CardType.SORCERY}, "");
this.expansionSetCode = "TSP"; this.expansionSetCode = "TSP";
this.color.isBlack(); this.color.setBlack(true);
// Suspend 3-{2}{B}{B} // Suspend 3-{2}{B}{B}
this.addAbility(new SuspendAbility(3, new ManaCostsImpl("{2}{B}{B}"), this)); this.addAbility(new SuspendAbility(3, new ManaCostsImpl("{2}{B}{B}"), this));

View file

@ -60,6 +60,8 @@ public class RestoreBalance extends CardImpl {
super(ownerId, 38, "Restore Balance", Rarity.RARE, new CardType[]{CardType.SORCERY}, ""); super(ownerId, 38, "Restore Balance", Rarity.RARE, new CardType[]{CardType.SORCERY}, "");
this.expansionSetCode = "TSP"; this.expansionSetCode = "TSP";
this.color.setWhite(true);
// Suspend 6-{W} // Suspend 6-{W}
this.addAbility(new SuspendAbility(6, new ColoredManaCost(ColoredManaSymbol.W), this)); this.addAbility(new SuspendAbility(6, new ColoredManaCost(ColoredManaSymbol.W), this));
// Each player chooses a number of lands he or she controls equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players sacrifice creatures and discard cards the same way. // Each player chooses a number of lands he or she controls equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players sacrifice creatures and discard cards the same way.

View file

@ -47,6 +47,8 @@ public class WheelOfFate extends CardImpl {
super(ownerId, 187, "Wheel of Fate", Rarity.RARE, new CardType[]{CardType.SORCERY}, ""); super(ownerId, 187, "Wheel of Fate", Rarity.RARE, new CardType[]{CardType.SORCERY}, "");
this.expansionSetCode = "TSP"; this.expansionSetCode = "TSP";
this.color.setRed(true);
// Suspend 4-{1}{R} // Suspend 4-{1}{R}
this.addAbility(new SuspendAbility(4, new ManaCostsImpl("{1}{R}"), this)); this.addAbility(new SuspendAbility(4, new ManaCostsImpl("{1}{R}"), this));
// Each player discards his or her hand, then draws seven cards. // Each player discards his or her hand, then draws seven cards.