From 9cf12d4c1568575a9ae629a9cb6cff889ed1d428 Mon Sep 17 00:00:00 2001 From: North Date: Sat, 21 Jul 2012 11:31:50 +0300 Subject: [PATCH 1/5] [LGN] Added Set --- .../plugins/card/dl/sources/GathererSets.java | 2 +- Mage.Sets/src/mage/sets/Legions.java | 56 +++++++++++++++++++ Mage.Sets/src/mage/sets/Sets.java | 1 + Utils/known-sets.txt | 3 +- 4 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 Mage.Sets/src/mage/sets/Legions.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 959db40a84..c5a72411ff 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 @@ -15,7 +15,7 @@ public class GathererSets implements Iterable { private final static File DEFAULT_OUT_DIR = new File("plugins" + File.separator + "images" + SETS_PATH); 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", "TSP", "TSB", "PLC", "FUT", "LRW", "MOR", "SHM", "EVE", "USG", "9ED", "8ED", "JUD", "ONS", "ULG", "USD", "WTH"}; + private static final String[] symbols = {"10E", "HOP", "TMP", "INV", "PLS", "APC", "MRD", "DST", "5DN", "CHK", "BOK", "SOK", "RAV", "GPT", "DIS", "TSP", "TSB", "PLC", "FUT", "LRW", "MOR", "SHM", "EVE", "USG", "9ED", "8ED", "JUD", "ONS", "LGN", "ULG", "USD", "WTH"}; private static final String[] withMythics = {"M10", "M11", "M12", "M13", "DDF", "ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "MBS", "NPH", "ISD", "DKA", "AVR"}; private static final HashMap symbolsReplacements = new HashMap(); diff --git a/Mage.Sets/src/mage/sets/Legions.java b/Mage.Sets/src/mage/sets/Legions.java new file mode 100644 index 0000000000..4cf5c26e0d --- /dev/null +++ b/Mage.Sets/src/mage/sets/Legions.java @@ -0,0 +1,56 @@ +/* + * 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; + +import java.util.GregorianCalendar; +import mage.Constants; +import mage.cards.ExpansionSet; + +/** + * + * @author North + */ +public class Legions extends ExpansionSet { + + private static final Legions fINSTANCE = new Legions(); + + public static Legions getInstance() { + return fINSTANCE; + } + + private Legions() { + super("Legions", "LGN", "", "mage.sets.legions", new GregorianCalendar(2003, 0, 25).getTime(), Constants.SetType.EXPANSION); + this.blockName = "Onslaught"; + this.hasBoosters = true; + this.numBoosterLands = 0; + this.numBoosterCommon = 11; + this.numBoosterUncommon = 3; + this.numBoosterRare = 1; + this.ratioBoosterMythic = 8; + } +} diff --git a/Mage.Sets/src/mage/sets/Sets.java b/Mage.Sets/src/mage/sets/Sets.java index 74080df0a7..5c40b6feb6 100644 --- a/Mage.Sets/src/mage/sets/Sets.java +++ b/Mage.Sets/src/mage/sets/Sets.java @@ -91,6 +91,7 @@ public class Sets extends HashMap { this.addSet(Innistrad.getInstance()); this.addSet(Invasion.getInstance()); this.addSet(Judgment.getInstance()); + this.addSet(Legions.getInstance()); this.addSet(Lorwyn.getInstance()); this.addSet(Magic2010.getInstance()); this.addSet(Magic2011.getInstance()); diff --git a/Utils/known-sets.txt b/Utils/known-sets.txt index 3afda2eee1..d4b8f6e3b2 100644 --- a/Utils/known-sets.txt +++ b/Utils/known-sets.txt @@ -8,6 +8,7 @@ Magic 2012|magic2012| Magic 2013|magic2013| Planechase|planechase| Duel Decks: Elspeth vs. Tezzeret|elspethvstezzeret| +Weatherlight|weatherlight| Tempest|tempest| Urza's Saga|urzassaga| Urza's Legacy|urzaslegacy| @@ -17,6 +18,7 @@ Planeshift|planeshift| Apocalypse|apocalypse| Judgment|judgment| Onslaught|onslaught| +Legions|legions| Mirrodin|mirrodin| Darksteel|darksteel| Fifth Dawn|fifthdawn| @@ -46,4 +48,3 @@ New Phyrexia|newphyrexia| Innistrad|innistrad| Dark Ascension|darkascension| Avacyn Restored|avacynrestored| -Weatherlight|weatherlight| \ No newline at end of file From 07e297604b4b1be26f7d8432cd9aa5172909b389 Mon Sep 17 00:00:00 2001 From: North Date: Sat, 21 Jul 2012 11:32:45 +0300 Subject: [PATCH 2/5] [LGN] Added generated extended cards --- .../mage/sets/legions/AkromaAngelOfWrath.java | 54 +++++++++++++++++++ .../src/mage/sets/legions/EnormousBaloth.java | 52 ++++++++++++++++++ .../mage/sets/legions/FlamewaveInvoker.java | 54 +++++++++++++++++++ .../src/mage/sets/legions/FugitiveWizard.java | 52 ++++++++++++++++++ .../mage/sets/legions/StarlightInvoker.java | 54 +++++++++++++++++++ .../src/mage/sets/legions/WhiteKnight.java | 52 ++++++++++++++++++ .../src/mage/sets/legions/WindbornMuse.java | 52 ++++++++++++++++++ 7 files changed, 370 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/legions/AkromaAngelOfWrath.java create mode 100644 Mage.Sets/src/mage/sets/legions/EnormousBaloth.java create mode 100644 Mage.Sets/src/mage/sets/legions/FlamewaveInvoker.java create mode 100644 Mage.Sets/src/mage/sets/legions/FugitiveWizard.java create mode 100644 Mage.Sets/src/mage/sets/legions/StarlightInvoker.java create mode 100644 Mage.Sets/src/mage/sets/legions/WhiteKnight.java create mode 100644 Mage.Sets/src/mage/sets/legions/WindbornMuse.java diff --git a/Mage.Sets/src/mage/sets/legions/AkromaAngelOfWrath.java b/Mage.Sets/src/mage/sets/legions/AkromaAngelOfWrath.java new file mode 100644 index 0000000000..a0d1ad91e2 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/AkromaAngelOfWrath.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.legions; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author North + */ +public class AkromaAngelOfWrath extends mage.sets.timeshifted.AkromaAngelOfWrath { + + public AkromaAngelOfWrath(UUID ownerId) { + super(ownerId); + this.cardNumber = 1; + this.expansionSetCode = "LGN"; + this.rarity = Rarity.RARE; + } + + public AkromaAngelOfWrath(final AkromaAngelOfWrath card) { + super(card); + } + + @Override + public AkromaAngelOfWrath copy() { + return new AkromaAngelOfWrath(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/EnormousBaloth.java b/Mage.Sets/src/mage/sets/legions/EnormousBaloth.java new file mode 100644 index 0000000000..3dfcd434fd --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/EnormousBaloth.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.legions; + +import java.util.UUID; + +/** + * + * @author North + */ +public class EnormousBaloth extends mage.sets.magic2010.EnormousBaloth { + + public EnormousBaloth(UUID ownerId) { + super(ownerId); + this.cardNumber = 125; + this.expansionSetCode = "LGN"; + } + + public EnormousBaloth(final EnormousBaloth card) { + super(card); + } + + @Override + public EnormousBaloth copy() { + return new EnormousBaloth(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/FlamewaveInvoker.java b/Mage.Sets/src/mage/sets/legions/FlamewaveInvoker.java new file mode 100644 index 0000000000..eaac6b5256 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/FlamewaveInvoker.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.legions; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author North + */ +public class FlamewaveInvoker extends mage.sets.tenth.FlamewaveInvoker { + + public FlamewaveInvoker(UUID ownerId) { + super(ownerId); + this.cardNumber = 92; + this.expansionSetCode = "LGN"; + this.rarity = Rarity.COMMON; + } + + public FlamewaveInvoker(final FlamewaveInvoker card) { + super(card); + } + + @Override + public FlamewaveInvoker copy() { + return new FlamewaveInvoker(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/FugitiveWizard.java b/Mage.Sets/src/mage/sets/legions/FugitiveWizard.java new file mode 100644 index 0000000000..674f0100ad --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/FugitiveWizard.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.legions; + +import java.util.UUID; + +/** + * + * @author North + */ +public class FugitiveWizard extends mage.sets.tenth.FugitiveWizard { + + public FugitiveWizard(UUID ownerId) { + super(ownerId); + this.cardNumber = 38; + this.expansionSetCode = "LGN"; + } + + public FugitiveWizard(final FugitiveWizard card) { + super(card); + } + + @Override + public FugitiveWizard copy() { + return new FugitiveWizard(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/StarlightInvoker.java b/Mage.Sets/src/mage/sets/legions/StarlightInvoker.java new file mode 100644 index 0000000000..7a7b42def3 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/StarlightInvoker.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.legions; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author North + */ +public class StarlightInvoker extends mage.sets.tenth.StarlightInvoker { + + public StarlightInvoker(UUID ownerId) { + super(ownerId); + this.cardNumber = 20; + this.expansionSetCode = "LGN"; + this.rarity = Rarity.COMMON; + } + + public StarlightInvoker(final StarlightInvoker card) { + super(card); + } + + @Override + public StarlightInvoker copy() { + return new StarlightInvoker(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/WhiteKnight.java b/Mage.Sets/src/mage/sets/legions/WhiteKnight.java new file mode 100644 index 0000000000..c4b00ab41d --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/WhiteKnight.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.legions; + +import java.util.UUID; + +/** + * + * @author North + */ +public class WhiteKnight extends mage.sets.magic2010.WhiteKnight { + + public WhiteKnight(UUID ownerId) { + super(ownerId); + this.cardNumber = 27; + this.expansionSetCode = "LGN"; + } + + public WhiteKnight(final WhiteKnight card) { + super(card); + } + + @Override + public WhiteKnight copy() { + return new WhiteKnight(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/WindbornMuse.java b/Mage.Sets/src/mage/sets/legions/WindbornMuse.java new file mode 100644 index 0000000000..09119ef00b --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/WindbornMuse.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.legions; + +import java.util.UUID; + +/** + * + * @author North + */ +public class WindbornMuse extends mage.sets.tenth.WindbornMuse { + + public WindbornMuse(UUID ownerId) { + super(ownerId); + this.cardNumber = 28; + this.expansionSetCode = "LGN"; + } + + public WindbornMuse(final WindbornMuse card) { + super(card); + } + + @Override + public WindbornMuse copy() { + return new WindbornMuse(this); + } +} From 02f7ea931a22033691354db08c25a6fe74398dc5 Mon Sep 17 00:00:00 2001 From: North Date: Sat, 21 Jul 2012 11:35:19 +0300 Subject: [PATCH 3/5] [LGN] Added generated simple cards --- .../src/mage/sets/legions/AvenEnvoy.java | 65 +++++++++++++++++ .../src/mage/sets/legions/DefiantElf.java | 64 +++++++++++++++++ Mage.Sets/src/mage/sets/legions/Hundroog.java | 65 +++++++++++++++++ .../src/mage/sets/legions/KeeneyeAven.java | 69 ++++++++++++++++++ .../mage/sets/legions/MacetailHystrodon.java | 71 +++++++++++++++++++ .../mage/sets/legions/NeedleshotGourna.java | 64 +++++++++++++++++ .../src/mage/sets/legions/PrimocEscapee.java | 69 ++++++++++++++++++ .../src/mage/sets/legions/RidgetopRaptor.java | 65 +++++++++++++++++ 8 files changed, 532 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/legions/AvenEnvoy.java create mode 100644 Mage.Sets/src/mage/sets/legions/DefiantElf.java create mode 100644 Mage.Sets/src/mage/sets/legions/Hundroog.java create mode 100644 Mage.Sets/src/mage/sets/legions/KeeneyeAven.java create mode 100644 Mage.Sets/src/mage/sets/legions/MacetailHystrodon.java create mode 100644 Mage.Sets/src/mage/sets/legions/NeedleshotGourna.java create mode 100644 Mage.Sets/src/mage/sets/legions/PrimocEscapee.java create mode 100644 Mage.Sets/src/mage/sets/legions/RidgetopRaptor.java diff --git a/Mage.Sets/src/mage/sets/legions/AvenEnvoy.java b/Mage.Sets/src/mage/sets/legions/AvenEnvoy.java new file mode 100644 index 0000000000..5e99a75057 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/AvenEnvoy.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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class AvenEnvoy extends CardImpl { + + public AvenEnvoy(UUID ownerId) { + super(ownerId, 30, "Aven Envoy", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{U}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Bird"); + this.subtype.add("Soldier"); + + this.color.setBlue(true); + this.power = new MageInt(0); + this.toughness = new MageInt(2); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + } + + public AvenEnvoy(final AvenEnvoy card) { + super(card); + } + + @Override + public AvenEnvoy copy() { + return new AvenEnvoy(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/DefiantElf.java b/Mage.Sets/src/mage/sets/legions/DefiantElf.java new file mode 100644 index 0000000000..1f3d71d58f --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/DefiantElf.java @@ -0,0 +1,64 @@ +/* + * 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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.TrampleAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class DefiantElf extends CardImpl { + + public DefiantElf(UUID ownerId) { + super(ownerId, 123, "Defiant Elf", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{G}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Elf"); + + this.color.setGreen(true); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // Trample + this.addAbility(TrampleAbility.getInstance()); + } + + public DefiantElf(final DefiantElf card) { + super(card); + } + + @Override + public DefiantElf copy() { + return new DefiantElf(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/Hundroog.java b/Mage.Sets/src/mage/sets/legions/Hundroog.java new file mode 100644 index 0000000000..b67b602533 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/Hundroog.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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class Hundroog extends CardImpl { + + public Hundroog(UUID ownerId) { + super(ownerId, 129, "Hundroog", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{6}{G}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Beast"); + + this.color.setGreen(true); + this.power = new MageInt(4); + this.toughness = new MageInt(7); + + // Cycling {3} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{3}"))); + } + + public Hundroog(final Hundroog card) { + super(card); + } + + @Override + public Hundroog copy() { + return new Hundroog(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/KeeneyeAven.java b/Mage.Sets/src/mage/sets/legions/KeeneyeAven.java new file mode 100644 index 0000000000..08cac71c64 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/KeeneyeAven.java @@ -0,0 +1,69 @@ +/* + * 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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class KeeneyeAven extends CardImpl { + + public KeeneyeAven(UUID ownerId) { + super(ownerId, 41, "Keeneye Aven", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{U}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Bird"); + this.subtype.add("Soldier"); + + this.color.setBlue(true); + this.power = new MageInt(2); + this.toughness = new MageInt(3); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + // Cycling {2} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}"))); + } + + public KeeneyeAven(final KeeneyeAven card) { + super(card); + } + + @Override + public KeeneyeAven copy() { + return new KeeneyeAven(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/MacetailHystrodon.java b/Mage.Sets/src/mage/sets/legions/MacetailHystrodon.java new file mode 100644 index 0000000000..973493ef5e --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/MacetailHystrodon.java @@ -0,0 +1,71 @@ +/* + * 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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FirstStrikeAbility; +import mage.abilities.keyword.HasteAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class MacetailHystrodon extends CardImpl { + + public MacetailHystrodon(UUID ownerId) { + super(ownerId, 106, "Macetail Hystrodon", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{6}{R}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Beast"); + + this.color.setRed(true); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // First strike + this.addAbility(FirstStrikeAbility.getInstance()); + // Haste + this.addAbility(HasteAbility.getInstance()); + // Cycling {3} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{3}"))); + } + + public MacetailHystrodon(final MacetailHystrodon card) { + super(card); + } + + @Override + public MacetailHystrodon copy() { + return new MacetailHystrodon(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/NeedleshotGourna.java b/Mage.Sets/src/mage/sets/legions/NeedleshotGourna.java new file mode 100644 index 0000000000..1d2e314a89 --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/NeedleshotGourna.java @@ -0,0 +1,64 @@ +/* + * 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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.ReachAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class NeedleshotGourna extends CardImpl { + + public NeedleshotGourna(UUID ownerId) { + super(ownerId, 133, "Needleshot Gourna", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{4}{G}{G}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Beast"); + + this.color.setGreen(true); + this.power = new MageInt(3); + this.toughness = new MageInt(6); + + // Reach + this.addAbility(ReachAbility.getInstance()); + } + + public NeedleshotGourna(final NeedleshotGourna card) { + super(card); + } + + @Override + public NeedleshotGourna copy() { + return new NeedleshotGourna(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/PrimocEscapee.java b/Mage.Sets/src/mage/sets/legions/PrimocEscapee.java new file mode 100644 index 0000000000..fb8fb6379a --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/PrimocEscapee.java @@ -0,0 +1,69 @@ +/* + * 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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class PrimocEscapee extends CardImpl { + + public PrimocEscapee(UUID ownerId) { + super(ownerId, 49, "Primoc Escapee", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{6}{U}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Bird"); + this.subtype.add("Beast"); + + this.color.setBlue(true); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + // Cycling {2} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}"))); + } + + public PrimocEscapee(final PrimocEscapee card) { + super(card); + } + + @Override + public PrimocEscapee copy() { + return new PrimocEscapee(this); + } +} diff --git a/Mage.Sets/src/mage/sets/legions/RidgetopRaptor.java b/Mage.Sets/src/mage/sets/legions/RidgetopRaptor.java new file mode 100644 index 0000000000..a88d74969b --- /dev/null +++ b/Mage.Sets/src/mage/sets/legions/RidgetopRaptor.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.legions; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.DoubleStrikeAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class RidgetopRaptor extends CardImpl { + + public RidgetopRaptor(UUID ownerId) { + super(ownerId, 108, "Ridgetop Raptor", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{3}{R}"); + this.expansionSetCode = "LGN"; + this.subtype.add("Lizard"); + this.subtype.add("Beast"); + + this.color.setRed(true); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Double strike + this.addAbility(DoubleStrikeAbility.getInstance()); + } + + public RidgetopRaptor(final RidgetopRaptor card) { + super(card); + } + + @Override + public RidgetopRaptor copy() { + return new RidgetopRaptor(this); + } +} From 6bbb7521c761ea459d7eb0ce49f5da33b883b13c Mon Sep 17 00:00:00 2001 From: North Date: Sat, 21 Jul 2012 11:39:19 +0300 Subject: [PATCH 4/5] [SCG] added set --- .../plugins/card/dl/sources/GathererSets.java | 2 +- Mage.Sets/src/mage/sets/Scourge.java | 56 +++++++++++++++++++ Mage.Sets/src/mage/sets/Sets.java | 1 + Utils/known-sets.txt | 1 + 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/sets/Scourge.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 c5a72411ff..88e9446502 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 @@ -15,7 +15,7 @@ public class GathererSets implements Iterable { private final static File DEFAULT_OUT_DIR = new File("plugins" + File.separator + "images" + SETS_PATH); 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", "TSP", "TSB", "PLC", "FUT", "LRW", "MOR", "SHM", "EVE", "USG", "9ED", "8ED", "JUD", "ONS", "LGN", "ULG", "USD", "WTH"}; + private static final String[] symbols = {"10E", "HOP", "TMP", "INV", "PLS", "APC", "MRD", "DST", "5DN", "CHK", "BOK", "SOK", "RAV", "GPT", "DIS", "TSP", "TSB", "PLC", "FUT", "LRW", "MOR", "SHM", "EVE", "USG", "9ED", "8ED", "JUD", "ONS", "LGN", "SCG", "ULG", "USD", "WTH"}; private static final String[] withMythics = {"M10", "M11", "M12", "M13", "DDF", "ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "MBS", "NPH", "ISD", "DKA", "AVR"}; private static final HashMap symbolsReplacements = new HashMap(); diff --git a/Mage.Sets/src/mage/sets/Scourge.java b/Mage.Sets/src/mage/sets/Scourge.java new file mode 100644 index 0000000000..a5f884cab9 --- /dev/null +++ b/Mage.Sets/src/mage/sets/Scourge.java @@ -0,0 +1,56 @@ +/* + * 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; + +import java.util.GregorianCalendar; +import mage.Constants; +import mage.cards.ExpansionSet; + +/** + * + * @author North + */ +public class Scourge extends ExpansionSet { + + private static final Scourge fINSTANCE = new Scourge(); + + public static Scourge getInstance() { + return fINSTANCE; + } + + private Scourge() { + super("Scourge", "SCG", "", "mage.sets.scourge", new GregorianCalendar(2003, 5, 17).getTime(), Constants.SetType.EXPANSION); + this.blockName = "Onslaught"; + this.hasBoosters = true; + this.numBoosterLands = 0; + this.numBoosterCommon = 11; + this.numBoosterUncommon = 3; + this.numBoosterRare = 1; + this.ratioBoosterMythic = 8; + } +} diff --git a/Mage.Sets/src/mage/sets/Sets.java b/Mage.Sets/src/mage/sets/Sets.java index 5c40b6feb6..ff420069d1 100644 --- a/Mage.Sets/src/mage/sets/Sets.java +++ b/Mage.Sets/src/mage/sets/Sets.java @@ -111,6 +111,7 @@ public class Sets extends HashMap { this.addSet(RiseOfTheEldrazi.getInstance()); this.addSet(SaviorsOfKamigawa.getInstance()); this.addSet(ScarsOfMirrodin.getInstance()); + this.addSet(Scourge.getInstance()); this.addSet(ShardsOfAlara.getInstance()); this.addSet(Shadowmoor.getInstance()); this.addSet(Tenth.getInstance()); diff --git a/Utils/known-sets.txt b/Utils/known-sets.txt index d4b8f6e3b2..6972905bfe 100644 --- a/Utils/known-sets.txt +++ b/Utils/known-sets.txt @@ -19,6 +19,7 @@ Apocalypse|apocalypse| Judgment|judgment| Onslaught|onslaught| Legions|legions| +Scourge|scourge| Mirrodin|mirrodin| Darksteel|darksteel| Fifth Dawn|fifthdawn| From 8a91dc98c21401122b05933e3442237a9f4ed071 Mon Sep 17 00:00:00 2001 From: North Date: Sat, 21 Jul 2012 11:41:09 +0300 Subject: [PATCH 5/5] [SCG] added generated extended cards --- .../src/mage/sets/scourge/CallToTheGrave.java | 52 +++++++++++++++++++ .../src/mage/sets/scourge/RainOfBlades.java | 52 +++++++++++++++++++ .../mage/sets/scourge/SiegeGangCommander.java | 52 +++++++++++++++++++ 3 files changed, 156 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/scourge/CallToTheGrave.java create mode 100644 Mage.Sets/src/mage/sets/scourge/RainOfBlades.java create mode 100644 Mage.Sets/src/mage/sets/scourge/SiegeGangCommander.java diff --git a/Mage.Sets/src/mage/sets/scourge/CallToTheGrave.java b/Mage.Sets/src/mage/sets/scourge/CallToTheGrave.java new file mode 100644 index 0000000000..3ecca313d8 --- /dev/null +++ b/Mage.Sets/src/mage/sets/scourge/CallToTheGrave.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.scourge; + +import java.util.UUID; + +/** + * + * @author North + */ +public class CallToTheGrave extends mage.sets.magic2012.CallToTheGrave { + + public CallToTheGrave(UUID ownerId) { + super(ownerId); + this.cardNumber = 58; + this.expansionSetCode = "SCG"; + } + + public CallToTheGrave(final CallToTheGrave card) { + super(card); + } + + @Override + public CallToTheGrave copy() { + return new CallToTheGrave(this); + } +} diff --git a/Mage.Sets/src/mage/sets/scourge/RainOfBlades.java b/Mage.Sets/src/mage/sets/scourge/RainOfBlades.java new file mode 100644 index 0000000000..dae909ec9c --- /dev/null +++ b/Mage.Sets/src/mage/sets/scourge/RainOfBlades.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.scourge; + +import java.util.UUID; + +/** + * + * @author North + */ +public class RainOfBlades extends mage.sets.magic2013.RainOfBlades { + + public RainOfBlades(UUID ownerId) { + super(ownerId); + this.cardNumber = 20; + this.expansionSetCode = "SCG"; + } + + public RainOfBlades(final RainOfBlades card) { + super(card); + } + + @Override + public RainOfBlades copy() { + return new RainOfBlades(this); + } +} diff --git a/Mage.Sets/src/mage/sets/scourge/SiegeGangCommander.java b/Mage.Sets/src/mage/sets/scourge/SiegeGangCommander.java new file mode 100644 index 0000000000..8c13496e51 --- /dev/null +++ b/Mage.Sets/src/mage/sets/scourge/SiegeGangCommander.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.scourge; + +import java.util.UUID; + +/** + * + * @author North + */ +public class SiegeGangCommander extends mage.sets.magic2010.SiegeGangCommander { + + public SiegeGangCommander(UUID ownerId) { + super(ownerId); + this.cardNumber = 103; + this.expansionSetCode = "SCG"; + } + + public SiegeGangCommander(final SiegeGangCommander card) { + super(card); + } + + @Override + public SiegeGangCommander copy() { + return new SiegeGangCommander(this); + } +}