From 6f4d3b39639278fa8e3ad3e4761a345882aaa8d7 Mon Sep 17 00:00:00 2001 From: Loki Date: Thu, 6 Oct 2011 23:58:30 +0300 Subject: [PATCH] Time Spiral set added --- .../plugins/card/dl/sources/GathererSets.java | 8 +-- Mage.Sets/src/mage/sets/Sets.java | 1 + Mage.Sets/src/mage/sets/TimeSpiral.java | 26 ++++++++ .../mage/sets/timespiral/AncientGrudge.java | 52 +++++++++++++++ .../src/mage/sets/timespiral/AshcoatBear.java | 63 ++++++++++++++++++ .../src/mage/sets/timespiral/Assassinate.java | 52 +++++++++++++++ .../sets/timespiral/BogardanHellkite.java | 54 +++++++++++++++ .../mage/sets/timespiral/BogardanRager.java | 52 +++++++++++++++ .../src/mage/sets/timespiral/Cancel.java | 52 +++++++++++++++ .../sets/timespiral/CelestialCrusader.java | 52 +++++++++++++++ .../mage/sets/timespiral/ChromaticStar.java | 54 +++++++++++++++ .../mage/sets/timespiral/HavenwoodWurm.java | 65 +++++++++++++++++++ .../src/mage/sets/timespiral/Smallpox.java | 52 +++++++++++++++ .../sets/timespiral/TendrilsOfCorruption.java | 52 +++++++++++++++ .../sets/timespiral/TerramorphicExpanse.java | 52 +++++++++++++++ .../src/mage/sets/timespiral/ThinkTwice.java | 52 +++++++++++++++ .../mage/sets/timespiral/VensersSliver.java | 59 +++++++++++++++++ Utils/known-sets.txt | 1 + 18 files changed, 795 insertions(+), 4 deletions(-) create mode 100644 Mage.Sets/src/mage/sets/TimeSpiral.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/AncientGrudge.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/AshcoatBear.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/Assassinate.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/BogardanHellkite.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/BogardanRager.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/Cancel.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/CelestialCrusader.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/ChromaticStar.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/HavenwoodWurm.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/Smallpox.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/TendrilsOfCorruption.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/TerramorphicExpanse.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/ThinkTwice.java create mode 100644 Mage.Sets/src/mage/sets/timespiral/VensersSliver.java diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java index 438012f8e0..9c5c3cc9e3 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java @@ -14,9 +14,9 @@ public class GathererSets implements Iterable { private final static String SETS_PATH = File.separator + "sets"; private final static File DEFAULT_OUT_DIR = new File("plugins" + File.separator + "images" + SETS_PATH); - private static File outDir = DEFAULT_OUT_DIR; + private static File outDir = DEFAULT_OUT_DIR; - private static final String[] symbols = {"10E", "HOP", "TMP", "INV", "PLS", "APC", "MRD", "DST", "5DN", "CHK", "BOK", "SOK", "RAV", "GPT", "DIS", "LRW", "MOR", "SHM", "EVE"}; + private static final String[] symbols = {"10E", "HOP", "TMP", "INV", "PLS", "APC", "MRD", "DST", "5DN", "CHK", "BOK", "SOK", "RAV", "GPT", "DIS", "TSP", "LRW", "MOR", "SHM", "EVE"}; private static final String[] withMythics = {"M10", "M11", "M12", "DDF", "ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "MBS", "NPH", "ISD"}; private static final HashMap symbolsReplacements = new HashMap(); @@ -42,12 +42,12 @@ public class GathererSets implements Iterable { jobs.add(generateDownloadJob(symbol, "U")); jobs.add(generateDownloadJob(symbol, "R")); } - for (String symbol : withMythics) { + for (String symbol : withMythics) { jobs.add(generateDownloadJob(symbol, "C")); jobs.add(generateDownloadJob(symbol, "U")); jobs.add(generateDownloadJob(symbol, "R")); jobs.add(generateDownloadJob(symbol, "M")); - } + } return jobs.iterator(); } diff --git a/Mage.Sets/src/mage/sets/Sets.java b/Mage.Sets/src/mage/sets/Sets.java index 4ce181185d..d9b857bad8 100644 --- a/Mage.Sets/src/mage/sets/Sets.java +++ b/Mage.Sets/src/mage/sets/Sets.java @@ -102,6 +102,7 @@ public class Sets extends HashMap { this.addSet(Shadowmoor.getInstance()); this.addSet(Tenth.getInstance()); this.addSet(Tempest.getInstance()); + this.addSet(TimeSpiral.getInstance()); this.addSet(Worldwake.getInstance()); this.addSet(Zendikar.getInstance()); } diff --git a/Mage.Sets/src/mage/sets/TimeSpiral.java b/Mage.Sets/src/mage/sets/TimeSpiral.java new file mode 100644 index 0000000000..7c9822c329 --- /dev/null +++ b/Mage.Sets/src/mage/sets/TimeSpiral.java @@ -0,0 +1,26 @@ +package mage.sets; + +import mage.Constants; +import mage.cards.ExpansionSet; + +import java.util.GregorianCalendar; + +public class TimeSpiral extends ExpansionSet { + + private static final TimeSpiral fINSTANCE = new TimeSpiral(); + + public static TimeSpiral getInstance() { + return fINSTANCE; + } + + private TimeSpiral() { + super("Time Spiral", "TSP", "", "mage.sets.timespiral", new GregorianCalendar(2006, 9, 9).getTime(), Constants.SetType.EXPANSION); + this.blockName = "Time Spiral"; + this.hasBoosters = true; + this.numBoosterLands = 1; + this.numBoosterCommon = 11; + this.numBoosterUncommon = 3; + this.numBoosterRare = 1; + this.ratioBoosterMythic = 0; + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/AncientGrudge.java b/Mage.Sets/src/mage/sets/timespiral/AncientGrudge.java new file mode 100644 index 0000000000..b1d44ffce7 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/AncientGrudge.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class AncientGrudge extends mage.sets.innistrad.AncientGrudge { + + public AncientGrudge(UUID ownerId) { + super(ownerId); + this.cardNumber = 143; + this.expansionSetCode = "TSP"; + } + + public AncientGrudge(final AncientGrudge card) { + super(card); + } + + @Override + public AncientGrudge copy() { + return new AncientGrudge(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/AshcoatBear.java b/Mage.Sets/src/mage/sets/timespiral/AshcoatBear.java new file mode 100644 index 0000000000..c14e1a59b0 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/AshcoatBear.java @@ -0,0 +1,63 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlashAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class AshcoatBear extends CardImpl { + + public AshcoatBear(UUID ownerId) { + super(ownerId, 190, "Ashcoat Bear", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{G}"); + this.expansionSetCode = "TSP"; + this.subtype.add("Bear"); + + this.color.setGreen(true); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + this.addAbility(FlashAbility.getInstance()); + } + + public AshcoatBear(final AshcoatBear card) { + super(card); + } + + @Override + public AshcoatBear copy() { + return new AshcoatBear(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/Assassinate.java b/Mage.Sets/src/mage/sets/timespiral/Assassinate.java new file mode 100644 index 0000000000..9265668665 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/Assassinate.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class Assassinate extends mage.sets.tenth.Assassinate { + + public Assassinate(UUID ownerId) { + super(ownerId); + this.cardNumber = 95; + this.expansionSetCode = "TSP"; + } + + public Assassinate(final Assassinate card) { + super(card); + } + + @Override + public Assassinate copy() { + return new Assassinate(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/BogardanHellkite.java b/Mage.Sets/src/mage/sets/timespiral/BogardanHellkite.java new file mode 100644 index 0000000000..79b1945fcf --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/BogardanHellkite.java @@ -0,0 +1,54 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Loki + */ +public class BogardanHellkite extends mage.sets.magic2010.BogardanHellkite { + + public BogardanHellkite(UUID ownerId) { + super(ownerId); + this.cardNumber = 147; + this.expansionSetCode = "TSP"; + this.rarity = Rarity.RARE; + } + + public BogardanHellkite(final BogardanHellkite card) { + super(card); + } + + @Override + public BogardanHellkite copy() { + return new BogardanHellkite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/BogardanRager.java b/Mage.Sets/src/mage/sets/timespiral/BogardanRager.java new file mode 100644 index 0000000000..30d975dfa0 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/BogardanRager.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class BogardanRager extends mage.sets.planechase.BogardanRager { + + public BogardanRager(UUID ownerId) { + super(ownerId); + this.cardNumber = 148; + this.expansionSetCode = "TSP"; + } + + public BogardanRager(final BogardanRager card) { + super(card); + } + + @Override + public BogardanRager copy() { + return new BogardanRager(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/Cancel.java b/Mage.Sets/src/mage/sets/timespiral/Cancel.java new file mode 100644 index 0000000000..48b1fb04ff --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/Cancel.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class Cancel extends mage.sets.tenth.Cancel { + + public Cancel(UUID ownerId) { + super(ownerId); + this.cardNumber = 51; + this.expansionSetCode = "TSP"; + } + + public Cancel(final Cancel card) { + super(card); + } + + @Override + public Cancel copy() { + return new Cancel(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/CelestialCrusader.java b/Mage.Sets/src/mage/sets/timespiral/CelestialCrusader.java new file mode 100644 index 0000000000..7ddf1b8b15 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/CelestialCrusader.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class CelestialCrusader extends mage.sets.elspethvstezzeret.CelestialCrusader { + + public CelestialCrusader(UUID ownerId) { + super(ownerId); + this.cardNumber = 7; + this.expansionSetCode = "TSP"; + } + + public CelestialCrusader(final CelestialCrusader card) { + super(card); + } + + @Override + public CelestialCrusader copy() { + return new CelestialCrusader(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/ChromaticStar.java b/Mage.Sets/src/mage/sets/timespiral/ChromaticStar.java new file mode 100644 index 0000000000..5ee0872af8 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/ChromaticStar.java @@ -0,0 +1,54 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Loki + */ +public class ChromaticStar extends mage.sets.tenth.ChromaticStar { + + public ChromaticStar(UUID ownerId) { + super(ownerId); + this.cardNumber = 251; + this.expansionSetCode = "TSP"; + this.rarity = Rarity.COMMON; + } + + public ChromaticStar(final ChromaticStar card) { + super(card); + } + + @Override + public ChromaticStar copy() { + return new ChromaticStar(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/HavenwoodWurm.java b/Mage.Sets/src/mage/sets/timespiral/HavenwoodWurm.java new file mode 100644 index 0000000000..513ab37d95 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/HavenwoodWurm.java @@ -0,0 +1,65 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlashAbility; +import mage.abilities.keyword.TrampleAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class HavenwoodWurm extends CardImpl { + + public HavenwoodWurm(UUID ownerId) { + super(ownerId, 199, "Havenwood Wurm", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{6}{G}"); + this.expansionSetCode = "TSP"; + this.subtype.add("Wurm"); + + this.color.setGreen(true); + this.power = new MageInt(5); + this.toughness = new MageInt(6); + + this.addAbility(FlashAbility.getInstance()); + this.addAbility(TrampleAbility.getInstance()); + } + + public HavenwoodWurm(final HavenwoodWurm card) { + super(card); + } + + @Override + public HavenwoodWurm copy() { + return new HavenwoodWurm(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/Smallpox.java b/Mage.Sets/src/mage/sets/timespiral/Smallpox.java new file mode 100644 index 0000000000..36cda8aa39 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/Smallpox.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class Smallpox extends mage.sets.magic2012.Smallpox { + + public Smallpox(UUID ownerId) { + super(ownerId); + this.cardNumber = 131; + this.expansionSetCode = "TSP"; + } + + public Smallpox(final Smallpox card) { + super(card); + } + + @Override + public Smallpox copy() { + return new Smallpox(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/TendrilsOfCorruption.java b/Mage.Sets/src/mage/sets/timespiral/TendrilsOfCorruption.java new file mode 100644 index 0000000000..589e35def0 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/TendrilsOfCorruption.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class TendrilsOfCorruption extends mage.sets.magic2010.TendrilsOfCorruption { + + public TendrilsOfCorruption(UUID ownerId) { + super(ownerId); + this.cardNumber = 136; + this.expansionSetCode = "TSP"; + } + + public TendrilsOfCorruption(final TendrilsOfCorruption card) { + super(card); + } + + @Override + public TendrilsOfCorruption copy() { + return new TendrilsOfCorruption(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/TerramorphicExpanse.java b/Mage.Sets/src/mage/sets/timespiral/TerramorphicExpanse.java new file mode 100644 index 0000000000..c01253cc4b --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/TerramorphicExpanse.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class TerramorphicExpanse extends mage.sets.tenth.TerramorphicExpanse { + + public TerramorphicExpanse(UUID ownerId) { + super(ownerId); + this.cardNumber = 279; + this.expansionSetCode = "TSP"; + } + + public TerramorphicExpanse(final TerramorphicExpanse card) { + super(card); + } + + @Override + public TerramorphicExpanse copy() { + return new TerramorphicExpanse(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/ThinkTwice.java b/Mage.Sets/src/mage/sets/timespiral/ThinkTwice.java new file mode 100644 index 0000000000..ad8ce70da0 --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/ThinkTwice.java @@ -0,0 +1,52 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; + +/** + * + * @author Loki + */ +public class ThinkTwice extends mage.sets.innistrad.ThinkTwice { + + public ThinkTwice(UUID ownerId) { + super(ownerId); + this.cardNumber = 86; + this.expansionSetCode = "TSP"; + } + + public ThinkTwice(final ThinkTwice card) { + super(card); + } + + @Override + public ThinkTwice copy() { + return new ThinkTwice(this); + } +} diff --git a/Mage.Sets/src/mage/sets/timespiral/VensersSliver.java b/Mage.Sets/src/mage/sets/timespiral/VensersSliver.java new file mode 100644 index 0000000000..d8756a1b4b --- /dev/null +++ b/Mage.Sets/src/mage/sets/timespiral/VensersSliver.java @@ -0,0 +1,59 @@ +/* + * Copyright 2010 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.timespiral; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class VensersSliver extends CardImpl { + + public VensersSliver(UUID ownerId) { + super(ownerId, 267, "Venser's Sliver", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}"); + this.expansionSetCode = "TSP"; + this.subtype.add("Sliver"); + + this.power = new MageInt(3); + this.toughness = new MageInt(3); + } + + public VensersSliver(final VensersSliver card) { + super(card); + } + + @Override + public VensersSliver copy() { + return new VensersSliver(this); + } +} diff --git a/Utils/known-sets.txt b/Utils/known-sets.txt index 1bd0450541..36632e9baf 100644 --- a/Utils/known-sets.txt +++ b/Utils/known-sets.txt @@ -17,6 +17,7 @@ Saviors of Kamigawa|saviorsofkamigawa| Ravnica: City of Guilds|ravnika| Guildpact|guildpact| Dissension|dissension| +Time Spiral|timespiral| Lorwyn|lorwyn| Morningtide|morningtide| Shadowmoor|shadowmoor|