From 9686d38d1a821ee0b07f5ec7df64ca75e3cde88a Mon Sep 17 00:00:00 2001 From: Ryan Worcester Date: Thu, 11 Dec 2014 20:40:04 -0600 Subject: [PATCH] Set the color of all cards with color indicators --- Mage.Sets/src/mage/sets/darkascension/ArchdemonOfGreed.java | 1 + Mage.Sets/src/mage/sets/darkascension/GhastlyHaunting.java | 1 + Mage.Sets/src/mage/sets/darkascension/HinterlandScourge.java | 1 + Mage.Sets/src/mage/sets/darkascension/KrallenhordeKiller.java | 1 + Mage.Sets/src/mage/sets/darkascension/MarkovsServant.java | 1 + Mage.Sets/src/mage/sets/darkascension/RavagerOfTheFells.java | 2 ++ Mage.Sets/src/mage/sets/darkascension/SilverpeltWerewolf.java | 1 + Mage.Sets/src/mage/sets/darkascension/UnhallowedCathar.java | 1 + Mage.Sets/src/mage/sets/darkascension/WerewolfRansacker.java | 1 + Mage.Sets/src/mage/sets/darkascension/WithengarUnbound.java | 1 + Mage.Sets/src/mage/sets/innistrad/LudevicsAbomination.java | 1 + Mage.Sets/src/mage/sets/legends/CrimsonKobolds.java | 1 + Mage.Sets/src/mage/sets/legends/CrookshankKobolds.java | 1 + Mage.Sets/src/mage/sets/legends/KoboldsOfKherKeep.java | 1 + Mage.Sets/src/mage/sets/timespiral/LivingEnd.java | 2 +- Mage.Sets/src/mage/sets/timespiral/RestoreBalance.java | 2 ++ Mage.Sets/src/mage/sets/timespiral/WheelOfFate.java | 2 ++ 17 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/darkascension/ArchdemonOfGreed.java b/Mage.Sets/src/mage/sets/darkascension/ArchdemonOfGreed.java index 373d4d49bd..10245e13be 100644 --- a/Mage.Sets/src/mage/sets/darkascension/ArchdemonOfGreed.java +++ b/Mage.Sets/src/mage/sets/darkascension/ArchdemonOfGreed.java @@ -66,6 +66,7 @@ public class ArchdemonOfGreed extends CardImpl { super(ownerId, 71, "Archdemon of Greed", Rarity.RARE, new CardType[]{CardType.CREATURE}, ""); this.expansionSetCode = "DKA"; this.subtype.add("Demon"); + this.color.setBlack(true); this.nightCard = true; this.canTransform = true; diff --git a/Mage.Sets/src/mage/sets/darkascension/GhastlyHaunting.java b/Mage.Sets/src/mage/sets/darkascension/GhastlyHaunting.java index ef1624c311..beb2530819 100644 --- a/Mage.Sets/src/mage/sets/darkascension/GhastlyHaunting.java +++ b/Mage.Sets/src/mage/sets/darkascension/GhastlyHaunting.java @@ -48,6 +48,7 @@ public class GhastlyHaunting extends CardImpl { super(ownerId, 50, "Ghastly Haunting", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, ""); this.expansionSetCode = "DKA"; this.subtype.add("Aura"); + this.color.setBlue(true); // this card is the second face of double-faced card this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/darkascension/HinterlandScourge.java b/Mage.Sets/src/mage/sets/darkascension/HinterlandScourge.java index 31fb0bf39b..b65a021e5d 100644 --- a/Mage.Sets/src/mage/sets/darkascension/HinterlandScourge.java +++ b/Mage.Sets/src/mage/sets/darkascension/HinterlandScourge.java @@ -54,6 +54,7 @@ public class HinterlandScourge extends CardImpl { super(ownerId, 94, "Hinterland Scourge", Rarity.COMMON, new CardType[]{CardType.CREATURE}, ""); this.expansionSetCode = "DKA"; this.subtype.add("Werewolf"); + this.color.setRed(true); // this card is the second face of double-faced card of Hinterland Hermit this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/darkascension/KrallenhordeKiller.java b/Mage.Sets/src/mage/sets/darkascension/KrallenhordeKiller.java index 7e3fec6a23..e7d832e280 100644 --- a/Mage.Sets/src/mage/sets/darkascension/KrallenhordeKiller.java +++ b/Mage.Sets/src/mage/sets/darkascension/KrallenhordeKiller.java @@ -52,6 +52,7 @@ public class KrallenhordeKiller extends CardImpl { super(ownerId, 133, "Krallenhorde Killer", Rarity.RARE, new CardType[]{CardType.CREATURE}, ""); this.expansionSetCode = "DKA"; this.subtype.add("Werewolf"); + this.color.setGreen(true); this.power = new MageInt(2); this.toughness = new MageInt(2); diff --git a/Mage.Sets/src/mage/sets/darkascension/MarkovsServant.java b/Mage.Sets/src/mage/sets/darkascension/MarkovsServant.java index 619948ad48..375edceccb 100644 --- a/Mage.Sets/src/mage/sets/darkascension/MarkovsServant.java +++ b/Mage.Sets/src/mage/sets/darkascension/MarkovsServant.java @@ -43,6 +43,7 @@ public class MarkovsServant extends CardImpl { super(ownerId, 55, "Markov's Servant", Rarity.COMMON, new CardType[]{CardType.CREATURE}, null); this.expansionSetCode = "DKA"; this.subtype.add("Vampire"); + this.color.setBlack(true); this.power = new MageInt(4); this.toughness = new MageInt(4); diff --git a/Mage.Sets/src/mage/sets/darkascension/RavagerOfTheFells.java b/Mage.Sets/src/mage/sets/darkascension/RavagerOfTheFells.java index e6356b09c0..1e12d81a55 100644 --- a/Mage.Sets/src/mage/sets/darkascension/RavagerOfTheFells.java +++ b/Mage.Sets/src/mage/sets/darkascension/RavagerOfTheFells.java @@ -57,6 +57,8 @@ public class RavagerOfTheFells extends CardImpl { super(ownerId, 140, "Ravager of the Fells", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, ""); this.expansionSetCode = "DKA"; this.subtype.add("Werewolf"); + this.color.setRed(true); + this.color.setGreen(true); // this card is the second face of double-faced card this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/darkascension/SilverpeltWerewolf.java b/Mage.Sets/src/mage/sets/darkascension/SilverpeltWerewolf.java index 29112b8339..81e0aeab8a 100644 --- a/Mage.Sets/src/mage/sets/darkascension/SilverpeltWerewolf.java +++ b/Mage.Sets/src/mage/sets/darkascension/SilverpeltWerewolf.java @@ -53,6 +53,7 @@ public class SilverpeltWerewolf extends CardImpl { super(ownerId, 122, "Silverpelt Werewolf", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, null); this.expansionSetCode = "DKA"; this.subtype.add("Werewolf"); + this.color.setGreen(true); this.power = new MageInt(4); this.toughness = new MageInt(5); diff --git a/Mage.Sets/src/mage/sets/darkascension/UnhallowedCathar.java b/Mage.Sets/src/mage/sets/darkascension/UnhallowedCathar.java index 6246f1bfb1..6f6ebe14ab 100644 --- a/Mage.Sets/src/mage/sets/darkascension/UnhallowedCathar.java +++ b/Mage.Sets/src/mage/sets/darkascension/UnhallowedCathar.java @@ -45,6 +45,7 @@ public class UnhallowedCathar extends CardImpl { this.expansionSetCode = "DKA"; this.subtype.add("Zombie"); this.subtype.add("Soldier"); + this.color.setBlack(true); // this card is the second face of double-faced card this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/darkascension/WerewolfRansacker.java b/Mage.Sets/src/mage/sets/darkascension/WerewolfRansacker.java index c24b247905..02677b58c6 100644 --- a/Mage.Sets/src/mage/sets/darkascension/WerewolfRansacker.java +++ b/Mage.Sets/src/mage/sets/darkascension/WerewolfRansacker.java @@ -62,6 +62,7 @@ public class WerewolfRansacker extends CardImpl { super(ownerId, 81, "Werewolf Ransacker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, ""); this.expansionSetCode = "DKA"; this.subtype.add("Werewolf"); + this.color.setRed(true); // this card is the second face of double-faced card this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/darkascension/WithengarUnbound.java b/Mage.Sets/src/mage/sets/darkascension/WithengarUnbound.java index c82928a4a8..95c340d8b7 100644 --- a/Mage.Sets/src/mage/sets/darkascension/WithengarUnbound.java +++ b/Mage.Sets/src/mage/sets/darkascension/WithengarUnbound.java @@ -54,6 +54,7 @@ public class WithengarUnbound extends CardImpl { this.expansionSetCode = "DKA"; this.supertype.add("Legendary"); this.subtype.add("Demon"); + this.color.setBlack(true); // this card is the second face of double-faced card this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/innistrad/LudevicsAbomination.java b/Mage.Sets/src/mage/sets/innistrad/LudevicsAbomination.java index 5f6488c480..c8668bf506 100644 --- a/Mage.Sets/src/mage/sets/innistrad/LudevicsAbomination.java +++ b/Mage.Sets/src/mage/sets/innistrad/LudevicsAbomination.java @@ -45,6 +45,7 @@ public class LudevicsAbomination extends CardImpl { this.expansionSetCode = "ISD"; this.subtype.add("Lizard"); this.subtype.add("Horror"); + this.color.setBlue(true); // this card is the second face of double-faced card this.nightCard = true; diff --git a/Mage.Sets/src/mage/sets/legends/CrimsonKobolds.java b/Mage.Sets/src/mage/sets/legends/CrimsonKobolds.java index a61fced828..d192e67180 100644 --- a/Mage.Sets/src/mage/sets/legends/CrimsonKobolds.java +++ b/Mage.Sets/src/mage/sets/legends/CrimsonKobolds.java @@ -42,6 +42,7 @@ public class CrimsonKobolds extends CardImpl { public CrimsonKobolds(UUID ownerId) { super(ownerId, 219, "Crimson Kobolds", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}"); this.expansionSetCode = "LEG"; + this.color.setRed(true); this.subtype.add("Kobold"); this.power = new MageInt(0); this.toughness = new MageInt(1); diff --git a/Mage.Sets/src/mage/sets/legends/CrookshankKobolds.java b/Mage.Sets/src/mage/sets/legends/CrookshankKobolds.java index fd499c297a..adf2160891 100644 --- a/Mage.Sets/src/mage/sets/legends/CrookshankKobolds.java +++ b/Mage.Sets/src/mage/sets/legends/CrookshankKobolds.java @@ -42,6 +42,7 @@ public class CrookshankKobolds extends CardImpl { public CrookshankKobolds(UUID ownerId) { super(ownerId, 220, "Crookshank Kobolds", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}"); this.expansionSetCode = "LEG"; + this.color.setRed(true); this.subtype.add("Kobold"); this.power = new MageInt(0); this.toughness = new MageInt(1); diff --git a/Mage.Sets/src/mage/sets/legends/KoboldsOfKherKeep.java b/Mage.Sets/src/mage/sets/legends/KoboldsOfKherKeep.java index 301c544b12..e465d24c66 100644 --- a/Mage.Sets/src/mage/sets/legends/KoboldsOfKherKeep.java +++ b/Mage.Sets/src/mage/sets/legends/KoboldsOfKherKeep.java @@ -42,6 +42,7 @@ public class KoboldsOfKherKeep extends CardImpl { public KoboldsOfKherKeep(UUID ownerId) { super(ownerId, 226, "Kobolds of Kher Keep", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{0}"); this.expansionSetCode = "LEG"; + this.color.setRed(true); this.subtype.add("Kobold"); this.power = new MageInt(0); this.toughness = new MageInt(1); diff --git a/Mage.Sets/src/mage/sets/timespiral/LivingEnd.java b/Mage.Sets/src/mage/sets/timespiral/LivingEnd.java index 986a112899..48c029e7e5 100644 --- a/Mage.Sets/src/mage/sets/timespiral/LivingEnd.java +++ b/Mage.Sets/src/mage/sets/timespiral/LivingEnd.java @@ -56,7 +56,7 @@ public class LivingEnd extends CardImpl { super(ownerId, 115, "Living End", Rarity.RARE, new CardType[]{CardType.SORCERY}, ""); this.expansionSetCode = "TSP"; - this.color.isBlack(); + this.color.setBlack(true); // Suspend 3-{2}{B}{B} this.addAbility(new SuspendAbility(3, new ManaCostsImpl("{2}{B}{B}"), this)); diff --git a/Mage.Sets/src/mage/sets/timespiral/RestoreBalance.java b/Mage.Sets/src/mage/sets/timespiral/RestoreBalance.java index 54aae29156..3706375f0e 100644 --- a/Mage.Sets/src/mage/sets/timespiral/RestoreBalance.java +++ b/Mage.Sets/src/mage/sets/timespiral/RestoreBalance.java @@ -60,6 +60,8 @@ public class RestoreBalance extends CardImpl { super(ownerId, 38, "Restore Balance", Rarity.RARE, new CardType[]{CardType.SORCERY}, ""); this.expansionSetCode = "TSP"; + this.color.setWhite(true); + // Suspend 6-{W} 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. diff --git a/Mage.Sets/src/mage/sets/timespiral/WheelOfFate.java b/Mage.Sets/src/mage/sets/timespiral/WheelOfFate.java index 86ae9b653c..dceb048e00 100644 --- a/Mage.Sets/src/mage/sets/timespiral/WheelOfFate.java +++ b/Mage.Sets/src/mage/sets/timespiral/WheelOfFate.java @@ -47,6 +47,8 @@ public class WheelOfFate extends CardImpl { super(ownerId, 187, "Wheel of Fate", Rarity.RARE, new CardType[]{CardType.SORCERY}, ""); this.expansionSetCode = "TSP"; + this.color.setRed(true); + // Suspend 4-{1}{R} this.addAbility(new SuspendAbility(4, new ManaCostsImpl("{1}{R}"), this)); // Each player discards his or her hand, then draws seven cards.