From d2f83b1ade4f7a2953635f594f6541e7b72157ce Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 24 Sep 2013 16:54:55 +0200 Subject: [PATCH] Added Theros block format. --- .../src/mage/deck/TherosBlock.java | 46 +++++++++++++++++++ Mage.Server/config/config.xml | 1 + Mage.Server/release/config/config.xml | 1 + 3 files changed, 48 insertions(+) create mode 100644 Mage.Server.Plugins/Mage.Deck.Constructed/src/mage/deck/TherosBlock.java diff --git a/Mage.Server.Plugins/Mage.Deck.Constructed/src/mage/deck/TherosBlock.java b/Mage.Server.Plugins/Mage.Deck.Constructed/src/mage/deck/TherosBlock.java new file mode 100644 index 00000000000..82934b950c1 --- /dev/null +++ b/Mage.Server.Plugins/Mage.Deck.Constructed/src/mage/deck/TherosBlock.java @@ -0,0 +1,46 @@ +/* +* 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.deck; + +import mage.cards.decks.Constructed; + +/** + * + * @author BetaSteward_at_googlemail.com + */ +public class TherosBlock extends Constructed { + + public TherosBlock() { + super("Constructed - Theros Block"); + setCodes.add("THS"); + setCodes.add("BNG"); + setCodes.add("JIN"); + } + +} diff --git a/Mage.Server/config/config.xml b/Mage.Server/config/config.xml index ed7632aa174..c2b4c2c883a 100644 --- a/Mage.Server/config/config.xml +++ b/Mage.Server/config/config.xml @@ -30,6 +30,7 @@ + diff --git a/Mage.Server/release/config/config.xml b/Mage.Server/release/config/config.xml index b8315cc9a71..f6c33423c00 100644 --- a/Mage.Server/release/config/config.xml +++ b/Mage.Server/release/config/config.xml @@ -28,6 +28,7 @@ +