From 4e9027642bd5e672d0028985c5713c55e925a63a Mon Sep 17 00:00:00 2001 From: North Date: Wed, 12 Sep 2012 09:43:54 +0300 Subject: [PATCH] [CSP] generated cards --- .../src/mage/sets/coldsnap/Deathmark.java | 52 ++++++++++++++++ .../src/mage/sets/coldsnap/FieldMarshal.java | 52 ++++++++++++++++ .../src/mage/sets/coldsnap/Flashfreeze.java | 52 ++++++++++++++++ .../mage/sets/coldsnap/KrovikanScoundrel.java | 61 +++++++++++++++++++ 4 files changed, 217 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/coldsnap/Deathmark.java create mode 100644 Mage.Sets/src/mage/sets/coldsnap/FieldMarshal.java create mode 100644 Mage.Sets/src/mage/sets/coldsnap/Flashfreeze.java create mode 100644 Mage.Sets/src/mage/sets/coldsnap/KrovikanScoundrel.java diff --git a/Mage.Sets/src/mage/sets/coldsnap/Deathmark.java b/Mage.Sets/src/mage/sets/coldsnap/Deathmark.java new file mode 100644 index 0000000000..839d0dd110 --- /dev/null +++ b/Mage.Sets/src/mage/sets/coldsnap/Deathmark.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.coldsnap; + +import java.util.UUID; + +/** + * + * @author North + */ +public class Deathmark extends mage.sets.tenth.Deathmark { + + public Deathmark(UUID ownerId) { + super(ownerId); + this.cardNumber = 54; + this.expansionSetCode = "CSP"; + } + + public Deathmark(final Deathmark card) { + super(card); + } + + @Override + public Deathmark copy() { + return new Deathmark(this); + } +} diff --git a/Mage.Sets/src/mage/sets/coldsnap/FieldMarshal.java b/Mage.Sets/src/mage/sets/coldsnap/FieldMarshal.java new file mode 100644 index 0000000000..f64561c26f --- /dev/null +++ b/Mage.Sets/src/mage/sets/coldsnap/FieldMarshal.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.coldsnap; + +import java.util.UUID; + +/** + * + * @author North + */ +public class FieldMarshal extends mage.sets.tenth.FieldMarshal { + + public FieldMarshal(UUID ownerId) { + super(ownerId); + this.cardNumber = 5; + this.expansionSetCode = "CSP"; + } + + public FieldMarshal(final FieldMarshal card) { + super(card); + } + + @Override + public FieldMarshal copy() { + return new FieldMarshal(this); + } +} diff --git a/Mage.Sets/src/mage/sets/coldsnap/Flashfreeze.java b/Mage.Sets/src/mage/sets/coldsnap/Flashfreeze.java new file mode 100644 index 0000000000..1255272d77 --- /dev/null +++ b/Mage.Sets/src/mage/sets/coldsnap/Flashfreeze.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.coldsnap; + +import java.util.UUID; + +/** + * + * @author North + */ +public class Flashfreeze extends mage.sets.tenth.Flashfreeze { + + public Flashfreeze(UUID ownerId) { + super(ownerId); + this.cardNumber = 33; + this.expansionSetCode = "CSP"; + } + + public Flashfreeze(final Flashfreeze card) { + super(card); + } + + @Override + public Flashfreeze copy() { + return new Flashfreeze(this); + } +} diff --git a/Mage.Sets/src/mage/sets/coldsnap/KrovikanScoundrel.java b/Mage.Sets/src/mage/sets/coldsnap/KrovikanScoundrel.java new file mode 100644 index 0000000000..3c657a1a59 --- /dev/null +++ b/Mage.Sets/src/mage/sets/coldsnap/KrovikanScoundrel.java @@ -0,0 +1,61 @@ +/* + * 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.coldsnap; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class KrovikanScoundrel extends CardImpl { + + public KrovikanScoundrel(UUID ownerId) { + super(ownerId, 64, "Krovikan Scoundrel", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{B}"); + this.expansionSetCode = "CSP"; + this.subtype.add("Human"); + this.subtype.add("Rogue"); + + this.color.setBlack(true); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + } + + public KrovikanScoundrel(final KrovikanScoundrel card) { + super(card); + } + + @Override + public KrovikanScoundrel copy() { + return new KrovikanScoundrel(this); + } +}