From 26f522979bba7c1baaab9da2ad5cd0e69fa3163c Mon Sep 17 00:00:00 2001 From: North Date: Sun, 17 Jul 2011 12:21:33 +0300 Subject: [PATCH] Added Planechase generated cards. --- .../sets/alarareborn/CerodonYearling.java | 66 +++++++++++++++++++ .../sets/eventide/HearthfireHobgoblin.java | 65 ++++++++++++++++++ .../mage/sets/planechase/BorosSwiftblade.java | 65 ++++++++++++++++++ .../mage/sets/planechase/CerodonYearling.java | 52 +++++++++++++++ .../sets/planechase/HearthfireHobgoblin.java | 52 +++++++++++++++ .../mage/sets/planechase/RorixBladewing.java | 66 +++++++++++++++++++ .../mage/sets/ravnika/BorosSwiftblade.java | 52 +++++++++++++++ 7 files changed, 418 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/alarareborn/CerodonYearling.java create mode 100644 Mage.Sets/src/mage/sets/eventide/HearthfireHobgoblin.java create mode 100644 Mage.Sets/src/mage/sets/planechase/BorosSwiftblade.java create mode 100644 Mage.Sets/src/mage/sets/planechase/CerodonYearling.java create mode 100644 Mage.Sets/src/mage/sets/planechase/HearthfireHobgoblin.java create mode 100644 Mage.Sets/src/mage/sets/planechase/RorixBladewing.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/BorosSwiftblade.java diff --git a/Mage.Sets/src/mage/sets/alarareborn/CerodonYearling.java b/Mage.Sets/src/mage/sets/alarareborn/CerodonYearling.java new file mode 100644 index 0000000000..b3cdd124c2 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/CerodonYearling.java @@ -0,0 +1,66 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.VigilanceAbility; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class CerodonYearling extends CardImpl { + + public CerodonYearling(UUID ownerId) { + super(ownerId, 96, "Cerodon Yearling", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{R}{W}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Beast"); + + this.color.setRed(true); + this.color.setWhite(true); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + this.addAbility(VigilanceAbility.getInstance()); + this.addAbility(HasteAbility.getInstance()); + } + + public CerodonYearling(final CerodonYearling card) { + super(card); + } + + @Override + public CerodonYearling copy() { + return new CerodonYearling(this); + } +} diff --git a/Mage.Sets/src/mage/sets/eventide/HearthfireHobgoblin.java b/Mage.Sets/src/mage/sets/eventide/HearthfireHobgoblin.java new file mode 100644 index 0000000000..fb478d0483 --- /dev/null +++ b/Mage.Sets/src/mage/sets/eventide/HearthfireHobgoblin.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.eventide; + +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 HearthfireHobgoblin extends CardImpl { + + public HearthfireHobgoblin(UUID ownerId) { + super(ownerId, 141, "Hearthfire Hobgoblin", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{RW}{RW}{RW}"); + this.expansionSetCode = "EVE"; + this.subtype.add("Goblin"); + this.subtype.add("Soldier"); + + this.color.setRed(true); + this.color.setWhite(true); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + this.addAbility(DoubleStrikeAbility.getInstance()); + } + + public HearthfireHobgoblin(final HearthfireHobgoblin card) { + super(card); + } + + @Override + public HearthfireHobgoblin copy() { + return new HearthfireHobgoblin(this); + } +} diff --git a/Mage.Sets/src/mage/sets/planechase/BorosSwiftblade.java b/Mage.Sets/src/mage/sets/planechase/BorosSwiftblade.java new file mode 100644 index 0000000000..67f5cb16a3 --- /dev/null +++ b/Mage.Sets/src/mage/sets/planechase/BorosSwiftblade.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.planechase; + +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 BorosSwiftblade extends CardImpl { + + public BorosSwiftblade(UUID ownerId) { + super(ownerId, 82, "Boros Swiftblade", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{R}{W}"); + this.expansionSetCode = "HOP"; + this.subtype.add("Human"); + this.subtype.add("Soldier"); + + this.color.setRed(true); + this.color.setWhite(true); + this.power = new MageInt(1); + this.toughness = new MageInt(2); + + this.addAbility(DoubleStrikeAbility.getInstance()); + } + + public BorosSwiftblade(final BorosSwiftblade card) { + super(card); + } + + @Override + public BorosSwiftblade copy() { + return new BorosSwiftblade(this); + } +} diff --git a/Mage.Sets/src/mage/sets/planechase/CerodonYearling.java b/Mage.Sets/src/mage/sets/planechase/CerodonYearling.java new file mode 100644 index 0000000000..0254d986ee --- /dev/null +++ b/Mage.Sets/src/mage/sets/planechase/CerodonYearling.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.planechase; + +import java.util.UUID; + +/** + * + * @author North + */ +public class CerodonYearling extends mage.sets.alarareborn.CerodonYearling { + + public CerodonYearling(UUID ownerId) { + super(ownerId); + this.cardNumber = 86; + this.expansionSetCode = "HOP"; + } + + public CerodonYearling(final CerodonYearling card) { + super(card); + } + + @Override + public CerodonYearling copy() { + return new CerodonYearling(this); + } +} diff --git a/Mage.Sets/src/mage/sets/planechase/HearthfireHobgoblin.java b/Mage.Sets/src/mage/sets/planechase/HearthfireHobgoblin.java new file mode 100644 index 0000000000..f8bfd5aff5 --- /dev/null +++ b/Mage.Sets/src/mage/sets/planechase/HearthfireHobgoblin.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.planechase; + +import java.util.UUID; + +/** + * + * @author North + */ +public class HearthfireHobgoblin extends mage.sets.eventide.HearthfireHobgoblin { + + public HearthfireHobgoblin(UUID ownerId) { + super(ownerId); + this.cardNumber = 102; + this.expansionSetCode = "HOP"; + } + + public HearthfireHobgoblin(final HearthfireHobgoblin card) { + super(card); + } + + @Override + public HearthfireHobgoblin copy() { + return new HearthfireHobgoblin(this); + } +} diff --git a/Mage.Sets/src/mage/sets/planechase/RorixBladewing.java b/Mage.Sets/src/mage/sets/planechase/RorixBladewing.java new file mode 100644 index 0000000000..a245f42f8e --- /dev/null +++ b/Mage.Sets/src/mage/sets/planechase/RorixBladewing.java @@ -0,0 +1,66 @@ +/* + * 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.planechase; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class RorixBladewing extends CardImpl { + + public RorixBladewing(UUID ownerId) { + super(ownerId, 65, "Rorix Bladewing", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{R}{R}{R}"); + this.expansionSetCode = "HOP"; + this.supertype.add("Legendary"); + this.subtype.add("Dragon"); + + this.color.setRed(true); + this.power = new MageInt(6); + this.toughness = new MageInt(5); + + this.addAbility(FlyingAbility.getInstance()); + this.addAbility(HasteAbility.getInstance()); + } + + public RorixBladewing(final RorixBladewing card) { + super(card); + } + + @Override + public RorixBladewing copy() { + return new RorixBladewing(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/BorosSwiftblade.java b/Mage.Sets/src/mage/sets/ravnika/BorosSwiftblade.java new file mode 100644 index 0000000000..86ac2918bb --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/BorosSwiftblade.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.ravnika; + +import java.util.UUID; + +/** + * + * @author North + */ +public class BorosSwiftblade extends mage.sets.planechase.BorosSwiftblade { + + public BorosSwiftblade(UUID ownerId) { + super(ownerId); + this.cardNumber = 193; + this.expansionSetCode = "RAV"; + } + + public BorosSwiftblade(final BorosSwiftblade card) { + super(card); + } + + @Override + public BorosSwiftblade copy() { + return new BorosSwiftblade(this); + } +}