diff --git a/Mage.Client/src/main/java/mage/client/util/sets/ConstructedFormats.java b/Mage.Client/src/main/java/mage/client/util/sets/ConstructedFormats.java index 378a33f8ef0..b26eb0c819a 100644 --- a/Mage.Client/src/main/java/mage/client/util/sets/ConstructedFormats.java +++ b/Mage.Client/src/main/java/mage/client/util/sets/ConstructedFormats.java @@ -17,7 +17,7 @@ import mage.cards.repository.CardRepository; public class ConstructedFormats { private static final String[] constructedFormats = {"- All Sets", "- Standard", "- Extended", "- Modern", - "* Return to Ravnica Block", "Return to Ravnica", "Magic 2013", + "* Return to Ravnica Block", "Gatecrash","Return to Ravnica", "Magic 2013", "* Innistrad Block", "Avacyn Restored", "Dark Ascension", "Innistrad", "Magic 2012", "Planechase 2012", "* Scars of Mirrodin Block", "New Phyrexia", "Mirrodin Besieged", "Scars of Mirrodin", "Magic 2011", @@ -285,11 +285,14 @@ public class ConstructedFormats { return Arrays.asList("AVR"); } if (format.equals("* Return to Ravnica Block")) { - return Arrays.asList("RTR"); + return Arrays.asList("RTR", "GTC"); } if (format.equals("Return to Ravnica")) { return Arrays.asList("RTR"); } + if (format.equals("Gatecrash")) { + return Arrays.asList("GTC"); + } if (format.equals("Fourth Edition")) { return Arrays.asList("4ED"); diff --git a/Mage.Client/src/main/resources/image.url.properties b/Mage.Client/src/main/resources/image.url.properties index 157805e60d3..0da1a6687d9 100644 --- a/Mage.Client/src/main/resources/image.url.properties +++ b/Mage.Client/src/main/resources/image.url.properties @@ -59,6 +59,6 @@ drk=dk ptk=p3k gur=guru mpr=mprp -ignore.urls=TOK,EMBLEM +ignore.urls=GTC,TOK,EMBLEM # sets ordered by release time (newest goes first) token.lookup.order=AVR,DDI,DKA,ISD,M12,NPH,MBS,SOM,M11,ROE,PVC,WWK,ZEN,M10,GVL,ARB,DVD,CFX,JVC,ALA,EVE,SHM,EVG,MOR,LRW,10E,CLS,CHK \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/Gatecrash.java b/Mage.Sets/src/mage/sets/Gatecrash.java new file mode 100644 index 00000000000..738154c8b5d --- /dev/null +++ b/Mage.Sets/src/mage/sets/Gatecrash.java @@ -0,0 +1,56 @@ +/* + * Copyright 2011 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ +package mage.sets; + +import java.util.GregorianCalendar; +import mage.Constants.SetType; +import mage.cards.ExpansionSet; + +/** + * + * @author LevelX2 + */ +public class Gatecrash extends ExpansionSet { + + private static final Gatecrash fINSTANCE = new Gatecrash(); + + public static Gatecrash getInstance() { + return fINSTANCE; + } + + private Gatecrash() { + super("Gatecrash", "GTC", "seticon_mtggtc", "mage.sets.gatecrash", new GregorianCalendar(2013, 2, 01).getTime(), SetType.EXPANSION); + this.blockName = "Gatecrash"; + this.hasBoosters = true; + this.numBoosterLands = 1; + this.numBoosterCommon = 10; + this.numBoosterUncommon = 3; + this.numBoosterRare = 1; + this.ratioBoosterMythic = 8; + } +}