mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-11-14 04:17:19 +01:00
Adding a Commander banned list a la Tiny Leaders (Literally a la. Involved many copying and pasting)
Adding a Commander Format, so that decks can now be checked in the original deck editor. Don't know how to implement highlander rules though, (Aside from the obviously stupid way of Restricting EVERY CARD EVER MADE). Retiring the Extended Format. This one's dead Jim, dead Jim, dead Jim. It's as dead as Frontier. Maybe. Yes. If anyone complains they can just remove the \\s. git-svn-id: http://svn.slightlymagic.net/forge/trunk@35774 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
parent
055dab6d60
commit
0b0464b74a
@ -46,7 +46,27 @@ public enum DeckFormat {
|
|||||||
Constructed ( Range.between(60, Integer.MAX_VALUE), Range.between(0, 15), 4),
|
Constructed ( Range.between(60, Integer.MAX_VALUE), Range.between(0, 15), 4),
|
||||||
QuestDeck ( Range.between(40, Integer.MAX_VALUE), Range.between(0, 15), 4),
|
QuestDeck ( Range.between(40, Integer.MAX_VALUE), Range.between(0, 15), 4),
|
||||||
Limited ( Range.between(40, Integer.MAX_VALUE), null, Integer.MAX_VALUE),
|
Limited ( Range.between(40, Integer.MAX_VALUE), null, Integer.MAX_VALUE),
|
||||||
Commander ( Range.is(99), Range.between(0, 10), 1),
|
Commander ( Range.is(99), Range.between(0, 10), 1, new Predicate<CardRules>() {
|
||||||
|
private final Set<String> bannedCards = new HashSet<String>(Arrays.asList(
|
||||||
|
"Adriana's Valor", "Advantageous Proclamation", "Amulet of Quoz", "Ancestral Recall", "Assemble the Rank and Vile",
|
||||||
|
"Backup Plan", "Balance", "Biorhythm", "Black Lotus", "Brago's Favor", "Braids, Cabal Minion", "Bronze Tablet",
|
||||||
|
"Channel", "Chaos Orb", "Coalition Victory", "Contract from Below", "Darkpact", "Demonic Attorney", "Double Stroke",
|
||||||
|
"Echoing Boon", "Emissary's Ploy", "Emrakul, the Aeons Torn", "Erayo, Soratami Ascendant", "Falling Star",
|
||||||
|
"Fastbond", "Gifts Ungiven", "Griselbrand", "Hired Heist", "Hold the Perimeter", "Hymn of the Wilds", "Immediate Action",
|
||||||
|
"Incendiary Dissent", "Iterative Analysis", "Jeweled Bird", "Karakas", "Leovold, Emissary of Trest", "Library of Alexandria",
|
||||||
|
"Limited Resources", "Mox Emerald", "Mox Jet", "Mox Pearl", "Mox Ruby", "Mox Sapphire", "Muzzio's Preparations",
|
||||||
|
"Natural Unity", "Painter's Servant", "Panoptic Mirror", "Power Play", "Primeval Titan", "Prophet of Kruphix",
|
||||||
|
"Rebirth", "Recurring Nightmare", "Rofellos, Llanowar Emissary", "Secret Summoning", "Secrets of Paradise",
|
||||||
|
"Sentinel Dispatch", "Shahrazad", "Sovereign's Realm", "Summoner's Bond", "Sundering Titan", "Sway of the Stars",
|
||||||
|
"Sylvan Primordial", "Tempest Efreet", "Time Vault", "Time Walk", "Timmerian Fiends", "Tinker", "Tolarian Academy",
|
||||||
|
"Trade Secrets", "Unexpected Potential", "Upheaval", "Weight Advantage", "Worldfire", "Worldknit", "Yawgmoth's Bargain"));
|
||||||
|
@Override
|
||||||
|
public boolean apply(CardRules rules) {
|
||||||
|
if (bannedCards.contains(rules.getName())) {
|
||||||
|
return false;}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}),
|
||||||
TinyLeaders ( Range.is(49), Range.between(0, 10), 1, new Predicate<CardRules>() {
|
TinyLeaders ( Range.is(49), Range.between(0, 10), 1, new Predicate<CardRules>() {
|
||||||
private final Set<String> bannedCards = new HashSet<String>(Arrays.asList(
|
private final Set<String> bannedCards = new HashSet<String>(Arrays.asList(
|
||||||
"Ancestral Recall", "Balance", "Black Lotus", "Black Vise", "Channel", "Chaos Orb", "Contract From Below", "Counterbalance", "Darkpact", "Demonic Attorney", "Demonic Tutor", "Earthcraft", "Edric, Spymaster of Trest", "Falling Star",
|
"Ancestral Recall", "Balance", "Black Lotus", "Black Vise", "Channel", "Chaos Orb", "Contract From Below", "Counterbalance", "Darkpact", "Demonic Attorney", "Demonic Tutor", "Earthcraft", "Edric, Spymaster of Trest", "Falling Star",
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
Sets:KLD, AER, AKH, W17, HOU, XLN
|
Sets:KLD, AER, AKH, W17, HOU, XLN
|
||||||
Banned: Emrakul, the Promised End; Smuggler's Copter; Reflector Mage; Aetherworks Marvel; Felidar Guardian
|
Banned: Emrakul, the Promised End; Smuggler's Copter; Reflector Mage; Aetherworks Marvel; Felidar Guardian
|
||||||
|
|
||||||
[Extended]
|
\\RIP Extended July 1997 - August 2013
|
||||||
Sets:SOM, MBS, NPH, M12, ISD, DKA, AVR, M13, RTR, GTC, DGM, M14, THS, BNG, JOU, M15
|
\\[Extended]
|
||||||
Banned:Ponder; Mental Misstep
|
\\Sets:SOM, MBS, NPH, M12, ISD, DKA, AVR, M13, RTR, GTC, DGM, M14, THS, BNG, JOU, M15
|
||||||
|
\\Banned:Ponder; Mental Misstep
|
||||||
|
|
||||||
[Modern]
|
[Modern]
|
||||||
Sets:8ED, MRD, DST, 5DN, CHK, BOK, SOK, 9ED, RAV, GPT, DIS, CSP, TSP, TSB, PLC, FUT, 10E, LRW, EVE, SHM, MOR, ALA, CFX, ARB, M10, ZEN, WWK, ROE, M11, SOM, MBS, NPH, M12, ISD, DKA, AVR, M13, RTR, GTC, DGM, M14, THS, BNG, JOU, M15, KTK, FRF, DTK, MM2, ORI, BFZ, OGW, SOI, EMN, KLD, AER, AKH, W17, HOU, XLN
|
Sets:8ED, MRD, DST, 5DN, CHK, BOK, SOK, 9ED, RAV, GPT, DIS, CSP, TSP, TSB, PLC, FUT, 10E, LRW, EVE, SHM, MOR, ALA, CFX, ARB, M10, ZEN, WWK, ROE, M11, SOM, MBS, NPH, M12, ISD, DKA, AVR, M13, RTR, GTC, DGM, M14, THS, BNG, JOU, M15, KTK, FRF, DTK, MM2, ORI, BFZ, OGW, SOI, EMN, KLD, AER, AKH, W17, HOU, XLN
|
||||||
@ -16,3 +17,6 @@ Banned:Advantageous Proclamation; Amulet of Quoz; Ancestral Recall; Backup Plan;
|
|||||||
[Vintage]
|
[Vintage]
|
||||||
Banned:Advantageous Proclamation; Amulet of Quoz; Backup Plan; Brago's Favor; Bronze Tablet; Chaos Orb; Contract from Below; Darkpact; Demonic Attorney; Double Stroke; Falling Star; Immediate Action; Iterative Analysis; Jeweled Bird; Muzzio's Preparations; Power Play; Rebirth; Secret Summoning; Secrets of Paradise; Sentinel Dispatch; Shahrazad; Tempest Efreet; Timmerian Fiends; Unexpected Potential; Worldknit
|
Banned:Advantageous Proclamation; Amulet of Quoz; Backup Plan; Brago's Favor; Bronze Tablet; Chaos Orb; Contract from Below; Darkpact; Demonic Attorney; Double Stroke; Falling Star; Immediate Action; Iterative Analysis; Jeweled Bird; Muzzio's Preparations; Power Play; Rebirth; Secret Summoning; Secrets of Paradise; Sentinel Dispatch; Shahrazad; Tempest Efreet; Timmerian Fiends; Unexpected Potential; Worldknit
|
||||||
Restricted:Ancestral Recall; Balance; Black Lotus; Brainstorm; Channel; Chalice of the Void; Demonic Consultation; Demonic Tutor; Dig Through Time; Fastbond; Flash; Gitaxian Probe; Gush; Imperial Seal; Library of Alexandria; Lion's Eye Diamond; Lodestone Golem; Lotus Petal; Mana Crypt; Mana Vault; Memory Jar; Merchant Scroll; Mind's Desire; Mox Emerald; Mox Jet; Mox Pearl; Mox Ruby; Mox Sapphire; Mystical Tutor; Necropotence; Ponder; Sol Ring; Strip Mine; Time Vault; Time Walk; Timetwister; Tinker; Tolarian Academy; Treasure Cruise; Trinisphere; Vampiric Tutor; Wheel of Fortune; Windfall; Yawgmoth's Bargain; Yawgmoth's Will
|
Restricted:Ancestral Recall; Balance; Black Lotus; Brainstorm; Channel; Chalice of the Void; Demonic Consultation; Demonic Tutor; Dig Through Time; Fastbond; Flash; Gitaxian Probe; Gush; Imperial Seal; Library of Alexandria; Lion's Eye Diamond; Lodestone Golem; Lotus Petal; Mana Crypt; Mana Vault; Memory Jar; Merchant Scroll; Mind's Desire; Mox Emerald; Mox Jet; Mox Pearl; Mox Ruby; Mox Sapphire; Mystical Tutor; Necropotence; Ponder; Sol Ring; Strip Mine; Time Vault; Time Walk; Timetwister; Tinker; Tolarian Academy; Treasure Cruise; Trinisphere; Vampiric Tutor; Wheel of Fortune; Windfall; Yawgmoth's Bargain; Yawgmoth's Will
|
||||||
|
|
||||||
|
[Commander]
|
||||||
|
Banned:Adriana's Valor; Advantageous Proclamation; Amulet of Quoz; Ancestral Recall; Assemble the Rank and Vile; Backup Plan; Balance; Biorhythm; Black Lotus; Brago's Favor; Braids, Cabal Minion; Bronze Tablet; Channel; Chaos Orb; Coalition Victory; Contract from Below; Darkpact; Demonic Attorney; Double Stroke; Echoing Boon; Emissary's Ploy; Emrakul, the Aeons Torn; Erayo, Soratami Ascendant; Falling Star; Fastbond; Gifts Ungiven; Griselbrand; Hired Heist; Hold the Perimeter; Hymn of the Wilds; Immediate Action; Incendiary Dissent; Iterative Analysis; Jeweled Bird; Karakas; Leovold, Emissary of Trest; Library of Alexandria; Limited Resources; Mox Emerald; Mox Jet; Mox Pearl; Mox Ruby; Mox Sapphire; Muzzio's Preparations; Natural Unity; Painter's Servant; Panoptic Mirror; Power Play; Primeval Titan; Prophet of Kruphix; Rebirth; Recurring Nightmare; Rofellos, Llanowar Emissary; Secret Summoning; Secrets of Paradise; Sentinel Dispatch; Shahrazad; Sovereign's Realm; Summoner's Bond; Sundering Titan; Sway of the Stars; Sylvan Primordial; Tempest Efreet; Time Vault; Time Walk; Timmerian Fiends; Tinker; Tolarian Academy; Trade Secrets; Unexpected Potential; Upheaval; Weight Advantage; Worldfire; Worldknit; Yawgmoth's Bargain
|
Loading…
Reference in New Issue
Block a user