[ZNR] added way to test front halves of MDFCs

This commit is contained in:
Evan Kranzler 2020-09-16 21:45:40 -04:00
parent 21de000913
commit 8d087a3bfd

View file

@ -12,16 +12,11 @@ import java.util.List;
*/ */
public final class ZendikarRising extends ExpansionSet { public final class ZendikarRising extends ExpansionSet {
private static final List<String> unfinished = Arrays.asList( private static final List<String> unfinishedLand = Arrays.asList(
"Agadeem's Awakening",
"Agadeem, the Undercrypt", "Agadeem, the Undercrypt",
"Akoum Warrior",
"Akoum Teeth", "Akoum Teeth",
"Bala Ged Recovery",
"Bala Ged Sanctuary", "Bala Ged Sanctuary",
"Beyeen Veil",
"Beyeen Coast", "Beyeen Coast",
"Blackbloom Rogue",
"Blackbloom Bog", "Blackbloom Bog",
"Branchloft Pathway", "Branchloft Pathway",
"Boulderloft Pathway", "Boulderloft Pathway",
@ -31,61 +26,68 @@ public final class ZendikarRising extends ExpansionSet {
"Murkwater Pathway", "Murkwater Pathway",
"Cragcrown Pathway", "Cragcrown Pathway",
"Timbercrown Pathway", "Timbercrown Pathway",
"Emeria's Call",
"Emeria, Shattered Skyclave", "Emeria, Shattered Skyclave",
"Glasspool Mimic",
"Glasspool Shore", "Glasspool Shore",
"Hagra Mauling",
"Hagra Broodpit", "Hagra Broodpit",
"Jwari Disruption",
"Jwari Ruins", "Jwari Ruins",
"Kabira Takedown",
"Kabira Plateau", "Kabira Plateau",
"Kazandu Mammoth",
"Kazandu Valley", "Kazandu Valley",
"Kazuul's Fury",
"Kazuul's Cliffs", "Kazuul's Cliffs",
"Khalni Ambush",
"Khalni Territory", "Khalni Territory",
"Makindi Stampede",
"Makindi Mesas", "Makindi Mesas",
"Malakir Rebirth",
"Malakir Mire", "Malakir Mire",
"Needleverge Pathway", "Needleverge Pathway",
"Pillarverge Pathway", "Pillarverge Pathway",
"Ondu Inversion",
"Ondu Skyruins", "Ondu Skyruins",
"Pelakka Predation",
"Pelakka Caverns", "Pelakka Caverns",
"Riverglide Pathway", "Riverglide Pathway",
"Lavaglide Pathway", "Lavaglide Pathway",
"Sea Gate Restoration",
"Sea Gate, Reborn", "Sea Gate, Reborn",
"Sejiri Shelter",
"Sejiri Glacier", "Sejiri Glacier",
"Shatterskull Smashing",
"Shatterskull, the Hammer Pass", "Shatterskull, the Hammer Pass",
"Silundi Vision",
"Silundi Isle", "Silundi Isle",
"Skyclave Cleric",
"Skyclave Basilica", "Skyclave Basilica",
"Song-Mad Treachery",
"Song-Mad Ruins", "Song-Mad Ruins",
"Spikefield Hazard",
"Spikefield Cave", "Spikefield Cave",
"Tangled Florahedron",
"Tangled Vale", "Tangled Vale",
"Turntimber Symbiosis",
"Turntimber, Serpentine Wood", "Turntimber, Serpentine Wood",
"Umara Wizard",
"Umara Skyfalls", "Umara Skyfalls",
"Valakut Awakening",
"Valakut Stoneforge", "Valakut Stoneforge",
"Vastwood Fortification",
"Vastwood Thicket", "Vastwood Thicket",
"Zof Consumption",
"Zof Bloodbog" "Zof Bloodbog"
); );
private static final List<String> unfinishedNonland = Arrays.asList(
"Agadeem's Awakening",
"Akoum Warrior",
"Bala Ged Recovery",
"Beyeen Veil",
"Blackbloom Rogue",
"Emeria's Call",
"Glasspool Mimic",
"Hagra Mauling",
"Jwari Disruption",
"Kabira Takedown",
"Kazandu Mammoth",
"Kazuul's Fury",
"Khalni Ambush",
"Makindi Stampede",
"Malakir Rebirth",
"Ondu Inversion",
"Pelakka Predation",
"Sea Gate Restoration",
"Sejiri Shelter",
"Shatterskull Smashing",
"Silundi Vision",
"Skyclave Cleric",
"Song-Mad Treachery",
"Spikefield Hazard",
"Tangled Florahedron",
"Turntimber Symbiosis",
"Umara Wizard",
"Valakut Awakening",
"Vastwood Fortification",
"Zof Consumption"
);
private static final ZendikarRising instance = new ZendikarRising(); private static final ZendikarRising instance = new ZendikarRising();
@ -411,6 +413,15 @@ public final class ZendikarRising extends ExpansionSet {
cards.add(new SetCardInfo("Zof Consumption", 132, Rarity.UNCOMMON, mage.cards.z.ZofConsumption.class)); cards.add(new SetCardInfo("Zof Consumption", 132, Rarity.UNCOMMON, mage.cards.z.ZofConsumption.class));
cards.add(new SetCardInfo("Zulaport Duelist", 88, Rarity.COMMON, mage.cards.z.ZulaportDuelist.class)); cards.add(new SetCardInfo("Zulaport Duelist", 88, Rarity.COMMON, mage.cards.z.ZulaportDuelist.class));
cards.removeIf(setCardInfo -> unfinished.contains(setCardInfo.getName())); // remove when mechanics are fully implemented cards.removeIf(setCardInfo -> checkName(setCardInfo.getName())); // remove when mechanics are fully implemented
}
private static boolean checkName(String name) {
boolean keepNonland = false;
keepNonland = true; // comment out this line to test front faces of MDFCs
if (keepNonland && unfinishedNonland.contains(name)) {
return true;
}
return unfinishedLand.contains(name);
} }
} }