From 865631eba704bd91dfb30b9cb85ffebdb084f32f Mon Sep 17 00:00:00 2001 From: North Date: Mon, 24 Dec 2012 23:02:57 +0200 Subject: [PATCH] Added cards submitted by jonubuu --- .../mage/sets/antiquities/Shatterstorm.java | 54 ++++++++ .../src/mage/sets/arabiannights/KirdApe.java | 54 ++++++++ .../mage/sets/darksteel/ArcboundBruiser.java | 62 +++++++++ .../mage/sets/darksteel/ArcboundHybrid.java | 65 +++++++++ .../mage/sets/darksteel/ArcboundLancer.java | 65 +++++++++ .../mage/sets/darksteel/ArcboundOverseer.java | 80 ++++++++++++ .../mage/sets/darksteel/ArcboundRavager.java | 78 +++++++++++ .../mage/sets/darksteel/ArcboundStinger.java | 65 +++++++++ .../src/mage/sets/darksteel/Reshape.java | 123 ++++++++++++++++++ .../elspethvstezzeret/ConclaveEquenaut.java | 68 ++++++++++ .../elspethvstezzeret/ConclavePhalanx.java | 72 ++++++++++ .../mage/sets/fifthedition/Shatterstorm.java | 61 +++++++++ .../mage/sets/lorwyn/FlamekinHarbinger.java | 52 ++++++++ .../src/mage/sets/mirrodin/Glimmervoid.java | 98 ++++++++++++++ .../src/mage/sets/ninthedition/KirdApe.java | 79 +++++++++++ .../sets/planechase/FlamekinHarbinger.java | 77 +++++++++++ .../src/mage/sets/ravnika/ChordOfCalling.java | 115 ++++++++++++++++ .../mage/sets/ravnika/ConclaveEquenaut.java | 52 ++++++++ .../mage/sets/ravnika/ConclavePhalanx.java | 52 ++++++++ .../src/mage/sets/ravnika/GatherCourage.java | 66 ++++++++++ .../sets/ravnika/GuardianOfVituGhazi.java | 68 ++++++++++ .../mage/sets/ravnika/ScatterTheSeeds.java | 64 +++++++++ .../src/mage/sets/ravnika/SiegeWurm.java | 67 ++++++++++ .../src/mage/sets/ravnika/SunderingVitae.java | 76 +++++++++++ .../mage/sets/sixthedition/Shatterstorm.java | 54 ++++++++ Mage.Sets/src/mage/sets/tenth/GoblinLore.java | 100 ++++++++++++++ .../src/mage/sets/tenth/Shatterstorm.java | 52 ++++++++ 27 files changed, 1919 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/antiquities/Shatterstorm.java create mode 100644 Mage.Sets/src/mage/sets/arabiannights/KirdApe.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/ArcboundBruiser.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/ArcboundHybrid.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/ArcboundLancer.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/ArcboundOverseer.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/ArcboundRavager.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/ArcboundStinger.java create mode 100644 Mage.Sets/src/mage/sets/darksteel/Reshape.java create mode 100644 Mage.Sets/src/mage/sets/elspethvstezzeret/ConclaveEquenaut.java create mode 100644 Mage.Sets/src/mage/sets/elspethvstezzeret/ConclavePhalanx.java create mode 100644 Mage.Sets/src/mage/sets/fifthedition/Shatterstorm.java create mode 100644 Mage.Sets/src/mage/sets/lorwyn/FlamekinHarbinger.java create mode 100644 Mage.Sets/src/mage/sets/mirrodin/Glimmervoid.java create mode 100644 Mage.Sets/src/mage/sets/ninthedition/KirdApe.java create mode 100644 Mage.Sets/src/mage/sets/planechase/FlamekinHarbinger.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/ChordOfCalling.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/ConclaveEquenaut.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/ConclavePhalanx.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/GatherCourage.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/GuardianOfVituGhazi.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/ScatterTheSeeds.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/SiegeWurm.java create mode 100644 Mage.Sets/src/mage/sets/ravnika/SunderingVitae.java create mode 100644 Mage.Sets/src/mage/sets/sixthedition/Shatterstorm.java create mode 100644 Mage.Sets/src/mage/sets/tenth/GoblinLore.java create mode 100644 Mage.Sets/src/mage/sets/tenth/Shatterstorm.java diff --git a/Mage.Sets/src/mage/sets/antiquities/Shatterstorm.java b/Mage.Sets/src/mage/sets/antiquities/Shatterstorm.java new file mode 100644 index 0000000000..7be108f146 --- /dev/null +++ b/Mage.Sets/src/mage/sets/antiquities/Shatterstorm.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.antiquities; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author jonubuu + */ +public class Shatterstorm extends mage.sets.fifthedition.Shatterstorm { + + public Shatterstorm(UUID ownerId) { + super(ownerId); + this.cardNumber = 93; + this.expansionSetCode = "ATQ"; + this.rarity = Rarity.RARE; + } + + public Shatterstorm(final Shatterstorm card) { + super(card); + } + + @Override + public Shatterstorm copy() { + return new Shatterstorm(this); + } +} diff --git a/Mage.Sets/src/mage/sets/arabiannights/KirdApe.java b/Mage.Sets/src/mage/sets/arabiannights/KirdApe.java new file mode 100644 index 0000000000..5e128f1d4e --- /dev/null +++ b/Mage.Sets/src/mage/sets/arabiannights/KirdApe.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.arabiannights; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author jonubuu + */ +public class KirdApe extends mage.sets.ninthedition.KirdApe { + + public KirdApe(UUID ownerId) { + super(ownerId); + this.cardNumber = 49; + this.expansionSetCode = "ARN"; + this.rarity = Rarity.COMMON; + } + + public KirdApe(final KirdApe card) { + super(card); + } + + @Override + public KirdApe copy() { + return new KirdApe(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/ArcboundBruiser.java b/Mage.Sets/src/mage/sets/darksteel/ArcboundBruiser.java new file mode 100644 index 0000000000..7960907972 --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/ArcboundBruiser.java @@ -0,0 +1,62 @@ +/* + * 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.darksteel; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.ModularAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class ArcboundBruiser extends CardImpl { + + public ArcboundBruiser(UUID ownerId) { + super(ownerId, 94, "Arcbound Bruiser", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}"); + this.expansionSetCode = "DST"; + this.subtype.add("Golem"); + this.power = new MageInt(0); + this.toughness = new MageInt(0); + + // Modular 3 + this.addAbility(new ModularAbility(this, 3)); + } + + public ArcboundBruiser(final ArcboundBruiser card) { + super(card); + } + + @Override + public ArcboundBruiser copy() { + return new ArcboundBruiser(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/ArcboundHybrid.java b/Mage.Sets/src/mage/sets/darksteel/ArcboundHybrid.java new file mode 100644 index 0000000000..b283468d2f --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/ArcboundHybrid.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.darksteel; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.HasteAbility; +import mage.abilities.keyword.ModularAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class ArcboundHybrid extends CardImpl { + + public ArcboundHybrid(UUID ownerId) { + super(ownerId, 97, "Arcbound Hybrid", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{4}"); + this.expansionSetCode = "DST"; + this.subtype.add("Beast"); + this.power = new MageInt(0); + this.toughness = new MageInt(0); + + // Haste + this.addAbility(HasteAbility.getInstance()); + // Modular 2 + this.addAbility(new ModularAbility(this, 2)); + } + + public ArcboundHybrid(final ArcboundHybrid card) { + super(card); + } + + @Override + public ArcboundHybrid copy() { + return new ArcboundHybrid(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/ArcboundLancer.java b/Mage.Sets/src/mage/sets/darksteel/ArcboundLancer.java new file mode 100644 index 0000000000..b5c632d913 --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/ArcboundLancer.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.darksteel; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FirstStrikeAbility; +import mage.abilities.keyword.ModularAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class ArcboundLancer extends CardImpl { + + public ArcboundLancer(UUID ownerId) { + super(ownerId, 98, "Arcbound Lancer", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{7}"); + this.expansionSetCode = "DST"; + this.subtype.add("Beast"); + this.power = new MageInt(0); + this.toughness = new MageInt(0); + + // First strike + this.addAbility(FirstStrikeAbility.getInstance()); + // Modular 4 + this.addAbility(new ModularAbility(this, 4)); + } + + public ArcboundLancer(final ArcboundLancer card) { + super(card); + } + + @Override + public ArcboundLancer copy() { + return new ArcboundLancer(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/ArcboundOverseer.java b/Mage.Sets/src/mage/sets/darksteel/ArcboundOverseer.java new file mode 100644 index 0000000000..958af0484a --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/ArcboundOverseer.java @@ -0,0 +1,80 @@ +/* + * 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.darksteel; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.common.OnEventTriggeredAbility; +import mage.abilities.effects.common.counter.AddCountersAllEffect; +import mage.abilities.keyword.ModularAbility; +import mage.cards.CardImpl; +import mage.counters.CounterType; +import mage.filter.common.FilterControlledCreaturePermanent; +import mage.filter.predicate.mageobject.AbilityPredicate; +import mage.game.events.GameEvent; + +/** + * + * @author jonubuu + */ +public class ArcboundOverseer extends CardImpl { + + private static final FilterControlledCreaturePermanent filter; + + static { + filter = new FilterControlledCreaturePermanent("creature with modular you control"); + filter.add(new AbilityPredicate(ModularAbility.class)); + } + + public ArcboundOverseer(UUID ownerId) { + super(ownerId, 99, "Arcbound Overseer", Rarity.RARE, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{8}"); + this.expansionSetCode = "DST"; + this.subtype.add("Golem"); + this.power = new MageInt(0); + this.toughness = new MageInt(0); + + // At the beginning of your upkeep, put a +1/+1 counter on each creature with modular you control. + this.addAbility(new OnEventTriggeredAbility( + GameEvent.EventType.UPKEEP_STEP_PRE, + "beginning of your upkeep", + new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter))); + // Modular 6 + this.addAbility(new ModularAbility(this, 6)); + } + + public ArcboundOverseer(final ArcboundOverseer card) { + super(card); + } + + @Override + public ArcboundOverseer copy() { + return new ArcboundOverseer(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/ArcboundRavager.java b/Mage.Sets/src/mage/sets/darksteel/ArcboundRavager.java new file mode 100644 index 0000000000..f6bb5db641 --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/ArcboundRavager.java @@ -0,0 +1,78 @@ +/* + * 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.darksteel; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.SacrificeTargetCost; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.ModularAbility; +import mage.cards.CardImpl; +import mage.counters.CounterType; +import mage.filter.common.FilterControlledPermanent; +import mage.filter.predicate.mageobject.CardTypePredicate; +import mage.target.common.TargetControlledPermanent; + +/** + * + * @author jonubuu + */ +public class ArcboundRavager extends CardImpl { + + private static final FilterControlledPermanent filter = new FilterControlledPermanent("an artifact"); + + static { + filter.add(new CardTypePredicate(CardType.ARTIFACT)); + } + + public ArcboundRavager(UUID ownerId) { + super(ownerId, 100, "Arcbound Ravager", Rarity.RARE, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}"); + this.expansionSetCode = "DST"; + this.subtype.add("Beast"); + this.power = new MageInt(0); + this.toughness = new MageInt(0); + + // Sacrifice an artifact: Put a +1/+1 counter on Arcbound Ravager. + this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new SacrificeTargetCost(new TargetControlledPermanent(filter)))); + // Modular 1 + this.addAbility(new ModularAbility(this, 1)); + } + + public ArcboundRavager(final ArcboundRavager card) { + super(card); + } + + @Override + public ArcboundRavager copy() { + return new ArcboundRavager(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/ArcboundStinger.java b/Mage.Sets/src/mage/sets/darksteel/ArcboundStinger.java new file mode 100644 index 0000000000..5d281b7c13 --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/ArcboundStinger.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.darksteel; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.ModularAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class ArcboundStinger extends CardImpl { + + public ArcboundStinger(UUID ownerId) { + super(ownerId, 103, "Arcbound Stinger", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}"); + this.expansionSetCode = "DST"; + this.subtype.add("Insect"); + this.power = new MageInt(0); + this.toughness = new MageInt(0); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + // Modular 1 + this.addAbility(new ModularAbility(this, 1)); + } + + public ArcboundStinger(final ArcboundStinger card) { + super(card); + } + + @Override + public ArcboundStinger copy() { + return new ArcboundStinger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/darksteel/Reshape.java b/Mage.Sets/src/mage/sets/darksteel/Reshape.java new file mode 100644 index 0000000000..6d4cebe48b --- /dev/null +++ b/Mage.Sets/src/mage/sets/darksteel/Reshape.java @@ -0,0 +1,123 @@ +/* + * 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.darksteel; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.Ability; +import mage.abilities.costs.common.SacrificeTargetCost; +import mage.abilities.effects.OneShotEffect; +import mage.cards.Card; +import mage.cards.CardImpl; +import mage.filter.Filter; +import mage.filter.FilterCard; +import mage.filter.common.FilterControlledPermanent; +import mage.filter.predicate.mageobject.CardTypePredicate; +import mage.filter.predicate.mageobject.ConvertedManaCostPredicate; +import mage.game.Game; +import mage.players.Player; +import mage.target.common.TargetCardInLibrary; +import mage.target.common.TargetControlledPermanent; + +/** + * + * @author jonubuu + */ +public class Reshape extends CardImpl { + + private final static FilterControlledPermanent filter = new FilterControlledPermanent("an artifact"); + + static { + filter.add(new CardTypePredicate(CardType.ARTIFACT)); + } + + public Reshape(UUID ownerId) { + super(ownerId, 31, "Reshape", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{X}{U}{U}"); + this.expansionSetCode = "DST"; + + this.color.setBlue(true); + + // As an additional cost to cast Reshape, sacrifice an artifact. + this.getSpellAbility().addCost(new SacrificeTargetCost(new TargetControlledPermanent(1, 1, filter, false))); + // Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. + this.getSpellAbility().addEffect(new ReshapeSearchEffect()); + } + + public Reshape(final Reshape card) { + super(card); + } + + @Override + public Reshape copy() { + return new Reshape(this); + } +} + +class ReshapeSearchEffect extends OneShotEffect { + + ReshapeSearchEffect() { + super(Constants.Outcome.PutCardInPlay); + staticText = "Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library"; + } + + ReshapeSearchEffect(final ReshapeSearchEffect effect) { + super(effect); + } + + @Override + public boolean apply(Game game, Ability source) { + Player player = game.getPlayer(source.getControllerId()); + if (player == null) { + return false; + } + FilterCard filter = new FilterCard("green creature card with converted mana cost X or less"); + filter.add(new CardTypePredicate(CardType.ARTIFACT)); + //Set the mana cost one higher to 'emulate' a less than or equal to comparison. + filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.LessThan, source.getManaCostsToPay().getX() + 1)); + TargetCardInLibrary target = new TargetCardInLibrary(filter); + if (player.searchLibrary(target, game)) { + if (target.getTargets().size() > 0) { + Card card = player.getLibrary().getCard(target.getFirstTarget(), game); + if (card != null) { + card.putOntoBattlefield(game, Constants.Zone.LIBRARY, source.getId(), source.getControllerId()); + } + } + player.shuffleLibrary(game); + return true; + } + player.shuffleLibrary(game); + return false; + } + + @Override + public ReshapeSearchEffect copy() { + return new ReshapeSearchEffect(this); + } +} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/elspethvstezzeret/ConclaveEquenaut.java b/Mage.Sets/src/mage/sets/elspethvstezzeret/ConclaveEquenaut.java new file mode 100644 index 0000000000..fad72b7e9e --- /dev/null +++ b/Mage.Sets/src/mage/sets/elspethvstezzeret/ConclaveEquenaut.java @@ -0,0 +1,68 @@ +/* + * 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.elspethvstezzeret; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.ConvokeAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class ConclaveEquenaut extends CardImpl { + + public ConclaveEquenaut(UUID ownerId) { + super(ownerId, 19, "Conclave Equenaut", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{4}{W}{W}"); + this.expansionSetCode = "DDF"; + this.subtype.add("Human"); + this.subtype.add("Soldier"); + + this.color.setWhite(true); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Flying + this.addAbility(FlyingAbility.getInstance()); + } + + public ConclaveEquenaut(final ConclaveEquenaut card) { + super(card); + } + + @Override + public ConclaveEquenaut copy() { + return new ConclaveEquenaut(this); + } +} diff --git a/Mage.Sets/src/mage/sets/elspethvstezzeret/ConclavePhalanx.java b/Mage.Sets/src/mage/sets/elspethvstezzeret/ConclavePhalanx.java new file mode 100644 index 0000000000..6bc8b3ce54 --- /dev/null +++ b/Mage.Sets/src/mage/sets/elspethvstezzeret/ConclavePhalanx.java @@ -0,0 +1,72 @@ +/* + * 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.elspethvstezzeret; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.cards.CardImpl; +import mage.filter.common.FilterControlledCreaturePermanent; + +/** + * + * @author jonubuu + */ +public class ConclavePhalanx extends CardImpl { + + public ConclavePhalanx(UUID ownerId) { + super(ownerId, 16, "Conclave Phalanx", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{4}{W}"); + this.expansionSetCode = "DDF"; + this.subtype.add("Human"); + this.subtype.add("Soldier"); + + this.color.setWhite(true); + this.power = new MageInt(2); + this.toughness = new MageInt(4); + + // Convoke + this.addAbility(new ConvokeAbility()); + // When Conclave Phalanx enters the battlefield, you gain 1 life for each creature you control. + this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect( + new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent())))); + } + + public ConclavePhalanx(final ConclavePhalanx card) { + super(card); + } + + @Override + public ConclavePhalanx copy() { + return new ConclavePhalanx(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fifthedition/Shatterstorm.java b/Mage.Sets/src/mage/sets/fifthedition/Shatterstorm.java new file mode 100644 index 0000000000..800b42aeb9 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthedition/Shatterstorm.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.fifthedition; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.effects.common.DestroyAllEffect; +import mage.cards.CardImpl; +import mage.filter.common.FilterArtifactPermanent; + +/** + * + * @author jonubuu + */ +public class Shatterstorm extends CardImpl { + + public Shatterstorm(UUID ownerId) { + super(ownerId, 266, "Shatterstorm", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{R}{R}"); + this.expansionSetCode = "5ED"; + + this.color.setRed(true); + + // Destroy all artifacts. They can't be regenerated. + this.getSpellAbility().addEffect(new DestroyAllEffect(new FilterArtifactPermanent(), true)); + } + + public Shatterstorm(final Shatterstorm card) { + super(card); + } + + @Override + public Shatterstorm copy() { + return new Shatterstorm(this); + } +} diff --git a/Mage.Sets/src/mage/sets/lorwyn/FlamekinHarbinger.java b/Mage.Sets/src/mage/sets/lorwyn/FlamekinHarbinger.java new file mode 100644 index 0000000000..9c02b398ba --- /dev/null +++ b/Mage.Sets/src/mage/sets/lorwyn/FlamekinHarbinger.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.lorwyn; + +import java.util.UUID; + +/** + * + * @author jonubuu + */ +public class FlamekinHarbinger extends mage.sets.planechase.FlamekinHarbinger { + + public FlamekinHarbinger(UUID ownerId) { + super(ownerId); + this.cardNumber = 167; + this.expansionSetCode = "LRW"; + } + + public FlamekinHarbinger(final FlamekinHarbinger card) { + super(card); + } + + @Override + public FlamekinHarbinger copy() { + return new FlamekinHarbinger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/mirrodin/Glimmervoid.java b/Mage.Sets/src/mage/sets/mirrodin/Glimmervoid.java new file mode 100644 index 0000000000..c4a536be35 --- /dev/null +++ b/Mage.Sets/src/mage/sets/mirrodin/Glimmervoid.java @@ -0,0 +1,98 @@ +/* + * 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.mirrodin; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.TriggeredAbilityImpl; +import mage.abilities.effects.common.SacrificeSourceEffect; +import mage.abilities.mana.AnyColorManaAbility; +import mage.cards.CardImpl; +import mage.filter.common.FilterArtifactPermanent; +import mage.game.Game; +import mage.game.events.GameEvent; + +/** + * + * @author jonubuu + */ +public class Glimmervoid extends CardImpl { + + public Glimmervoid(UUID ownerId) { + super(ownerId, 281, "Glimmervoid", Rarity.RARE, new CardType[]{CardType.LAND}, ""); + this.expansionSetCode = "MRD"; + + // At the beginning of the end step, if you control no artifacts, sacrifice Glimmervoid. + this.addAbility(new GlimmervoidTriggeredAbility()); + // {tap}: Add one mana of any color to your mana pool. + this.addAbility(new AnyColorManaAbility()); + } + + public Glimmervoid(final Glimmervoid card) { + super(card); + } + + @Override + public Glimmervoid copy() { + return new Glimmervoid(this); + } +} + +class GlimmervoidTriggeredAbility extends TriggeredAbilityImpl { + + GlimmervoidTriggeredAbility() { + super(Constants.Zone.BATTLEFIELD, new SacrificeSourceEffect()); + } + + GlimmervoidTriggeredAbility(final GlimmervoidTriggeredAbility ability) { + super(ability); + } + + @Override + public GlimmervoidTriggeredAbility copy() { + return new GlimmervoidTriggeredAbility(this); + } + + @Override + public boolean checkTrigger(GameEvent event, Game game) { + if (event.getType() == GameEvent.EventType.END_TURN_STEP_PRE) { + FilterArtifactPermanent filter = new FilterArtifactPermanent(); + if (!game.getBattlefield().contains(filter, controllerId, 1, game)) { + return true; + } + } + return false; + } + + @Override + public String getRule() { + return "At the beginning of the end step, if you control no Artifacts, sacrifice {this}."; + } +} diff --git a/Mage.Sets/src/mage/sets/ninthedition/KirdApe.java b/Mage.Sets/src/mage/sets/ninthedition/KirdApe.java new file mode 100644 index 0000000000..df0a685079 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ninthedition/KirdApe.java @@ -0,0 +1,79 @@ +/* + * 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.ninthedition; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.condition.common.ControlsPermanentCondition; +import mage.abilities.decorator.ConditionalContinousEffect; +import mage.abilities.effects.common.continious.BoostSourceEffect; +import mage.cards.CardImpl; +import mage.filter.common.FilterLandPermanent; +import mage.filter.predicate.mageobject.SubtypePredicate; + +/** + * + * @author jonubuu + */ +public class KirdApe extends CardImpl { + + private static final String rule = "{this} gets +1/+2 as long as you control a Forest"; + private static final FilterLandPermanent filter = new FilterLandPermanent("a Forest"); + + static { + filter.add(new SubtypePredicate("Forest")); + } + + public KirdApe(UUID ownerId) { + super(ownerId, 199, "Kird Ape", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{R}"); + this.expansionSetCode = "9ED"; + this.subtype.add("Ape"); + + this.color.setRed(true); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // Kird Ape gets +1/+2 as long as you control a Forest. + this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, + new ConditionalContinousEffect(new BoostSourceEffect(1, 2, Constants.Duration.WhileOnBattlefield), + new ControlsPermanentCondition(filter), rule))); + } + + public KirdApe(final KirdApe card) { + super(card); + } + + @Override + public KirdApe copy() { + return new KirdApe(this); + } +} diff --git a/Mage.Sets/src/mage/sets/planechase/FlamekinHarbinger.java b/Mage.Sets/src/mage/sets/planechase/FlamekinHarbinger.java new file mode 100644 index 0000000000..f3c61dee5a --- /dev/null +++ b/Mage.Sets/src/mage/sets/planechase/FlamekinHarbinger.java @@ -0,0 +1,77 @@ +/* + * 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.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.search.SearchLibraryPutOnLibraryEffect; +import mage.cards.CardImpl; +import mage.filter.FilterCard; +import mage.filter.predicate.mageobject.SubtypePredicate; +import mage.target.common.TargetCardInLibrary; + +/** + * + * @author jonubuu + */ +public class FlamekinHarbinger extends CardImpl { + + private final static FilterCard filter = new FilterCard("Elemental card"); + + static { + filter.add(new SubtypePredicate("Elemental")); + } + + public FlamekinHarbinger(UUID ownerId) { + super(ownerId, 53, "Flamekin Harbinger", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{R}"); + this.expansionSetCode = "HOP"; + this.subtype.add("Elemental"); + this.subtype.add("Shaman"); + + this.color.setRed(true); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // When Flamekin Harbinger enters the battlefield, you may search your library for an Elemental card, + // reveal it, then shuffle your library and put that card on top of it. + TargetCardInLibrary target = new TargetCardInLibrary(filter); + this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(target, true, true))); + } + + public FlamekinHarbinger(final FlamekinHarbinger card) { + super(card); + } + + @Override + public FlamekinHarbinger copy() { + return new FlamekinHarbinger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/ChordOfCalling.java b/Mage.Sets/src/mage/sets/ravnika/ChordOfCalling.java new file mode 100644 index 0000000000..38e20eed86 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/ChordOfCalling.java @@ -0,0 +1,115 @@ +/* + * 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; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.Ability; +import mage.abilities.effects.OneShotEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.cards.Card; +import mage.cards.CardImpl; +import mage.filter.Filter; +import mage.filter.FilterCard; +import mage.filter.predicate.mageobject.CardTypePredicate; +import mage.filter.predicate.mageobject.ConvertedManaCostPredicate; +import mage.game.Game; +import mage.players.Player; +import mage.target.common.TargetCardInLibrary; + +/** + * + * @author jonubuu + */ +public class ChordOfCalling extends CardImpl { + + public ChordOfCalling(UUID ownerId) { + super(ownerId, 156, "Chord of Calling", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{X}{G}{G}{G}"); + this.expansionSetCode = "RAV"; + + this.color.setGreen(true); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Search your library for a creature card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. + this.getSpellAbility().addEffect(new ChordofCallingSearchEffect()); + } + + public ChordOfCalling(final ChordOfCalling card) { + super(card); + } + + @Override + public ChordOfCalling copy() { + return new ChordOfCalling(this); + } +} + +class ChordofCallingSearchEffect extends OneShotEffect { + + ChordofCallingSearchEffect() { + super(Constants.Outcome.PutCreatureInPlay); + staticText = "Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library"; + } + + ChordofCallingSearchEffect(final ChordofCallingSearchEffect effect) { + super(effect); + } + + @Override + public boolean apply(Game game, Ability source) { + Player player = game.getPlayer(source.getControllerId()); + if (player == null) { + return false; + } + FilterCard filter = new FilterCard("creature card with converted mana cost X or less"); + filter.add(new CardTypePredicate(CardType.CREATURE)); + //Set the mana cost one higher to 'emulate' a less than or equal to comparison. + filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.LessThan, source.getManaCostsToPay().getX() + 1)); + TargetCardInLibrary target = new TargetCardInLibrary(filter); + if (player.searchLibrary(target, game)) { + if (target.getTargets().size() > 0) { + Card card = player.getLibrary().getCard(target.getFirstTarget(), game); + if (card != null) { + card.putOntoBattlefield(game, Constants.Zone.LIBRARY, source.getId(), source.getControllerId()); + } + } + player.shuffleLibrary(game); + return true; + } + player.shuffleLibrary(game); + return false; + } + + @Override + public ChordofCallingSearchEffect copy() { + return new ChordofCallingSearchEffect(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/ConclaveEquenaut.java b/Mage.Sets/src/mage/sets/ravnika/ConclaveEquenaut.java new file mode 100644 index 0000000000..dc2683c967 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/ConclaveEquenaut.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 jonubuu + */ +public class ConclaveEquenaut extends mage.sets.elspethvstezzeret.ConclaveEquenaut { + + public ConclaveEquenaut(UUID ownerId) { + super(ownerId); + this.cardNumber = 9; + this.expansionSetCode = "RAV"; + } + + public ConclaveEquenaut(final ConclaveEquenaut card) { + super(card); + } + + @Override + public ConclaveEquenaut copy() { + return new ConclaveEquenaut(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/ConclavePhalanx.java b/Mage.Sets/src/mage/sets/ravnika/ConclavePhalanx.java new file mode 100644 index 0000000000..61e1b0bb25 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/ConclavePhalanx.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 jonubuu + */ +public class ConclavePhalanx extends mage.sets.elspethvstezzeret.ConclavePhalanx { + + public ConclavePhalanx(UUID ownerId) { + super(ownerId); + this.cardNumber = 10; + this.expansionSetCode = "RAV"; + } + + public ConclavePhalanx(final ConclavePhalanx card) { + super(card); + } + + @Override + public ConclavePhalanx copy() { + return new ConclavePhalanx(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/GatherCourage.java b/Mage.Sets/src/mage/sets/ravnika/GatherCourage.java new file mode 100644 index 0000000000..0ebf3cf773 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/GatherCourage.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.ravnika; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.effects.common.continious.BoostTargetEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.cards.CardImpl; +import mage.target.common.TargetCreaturePermanent; + +/** + * + * @author jonubuu + */ +public class GatherCourage extends CardImpl { + + public GatherCourage(UUID ownerId) { + super(ownerId, 165, "Gather Courage", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{G}"); + this.expansionSetCode = "RAV"; + + this.color.setGreen(true); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Target creature gets +2/+2 until end of turn. + this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Constants.Duration.EndOfTurn)); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + public GatherCourage(final GatherCourage card) { + super(card); + } + + @Override + public GatherCourage copy() { + return new GatherCourage(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/GuardianOfVituGhazi.java b/Mage.Sets/src/mage/sets/ravnika/GuardianOfVituGhazi.java new file mode 100644 index 0000000000..333182176d --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/GuardianOfVituGhazi.java @@ -0,0 +1,68 @@ +/* + * 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; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.ConvokeAbility; +import mage.abilities.keyword.VigilanceAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class GuardianOfVituGhazi extends CardImpl { + + public GuardianOfVituGhazi(UUID ownerId) { + super(ownerId, 212, "Guardian of Vitu-Ghazi", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{6}{G}{W}"); + this.expansionSetCode = "RAV"; + this.subtype.add("Elemental"); + + this.color.setGreen(true); + this.color.setWhite(true); + this.power = new MageInt(4); + this.toughness = new MageInt(7); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Vigilance + this.addAbility(VigilanceAbility.getInstance()); + } + + public GuardianOfVituGhazi(final GuardianOfVituGhazi card) { + super(card); + } + + @Override + public GuardianOfVituGhazi copy() { + return new GuardianOfVituGhazi(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/ScatterTheSeeds.java b/Mage.Sets/src/mage/sets/ravnika/ScatterTheSeeds.java new file mode 100644 index 0000000000..883e321cdc --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/ScatterTheSeeds.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.ravnika; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.cards.CardImpl; +import mage.game.permanent.token.SaprolingToken; + +/** + * + * @author jonubuu + */ +public class ScatterTheSeeds extends CardImpl { + + public ScatterTheSeeds(UUID ownerId) { + super(ownerId, 181, "Scatter the Seeds", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{G}{G}"); + this.expansionSetCode = "RAV"; + + this.color.setGreen(true); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Put three 1/1 green Saproling creature tokens onto the battlefield. + this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), 3)); + } + + public ScatterTheSeeds(final ScatterTheSeeds card) { + super(card); + } + + @Override + public ScatterTheSeeds copy() { + return new ScatterTheSeeds(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/SiegeWurm.java b/Mage.Sets/src/mage/sets/ravnika/SiegeWurm.java new file mode 100644 index 0000000000..e5d01571f4 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/SiegeWurm.java @@ -0,0 +1,67 @@ +/* + * 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; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.ConvokeAbility; +import mage.abilities.keyword.TrampleAbility; +import mage.cards.CardImpl; + +/** + * + * @author jonubuu + */ +public class SiegeWurm extends CardImpl { + + public SiegeWurm(UUID ownerId) { + super(ownerId, 183, "Siege Wurm", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{5}{G}{G}"); + this.expansionSetCode = "RAV"; + this.subtype.add("Wurm"); + + this.color.setGreen(true); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Trample + this.addAbility(TrampleAbility.getInstance()); + } + + public SiegeWurm(final SiegeWurm card) { + super(card); + } + + @Override + public SiegeWurm copy() { + return new SiegeWurm(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ravnika/SunderingVitae.java b/Mage.Sets/src/mage/sets/ravnika/SunderingVitae.java new file mode 100644 index 0000000000..6c8b99eaa9 --- /dev/null +++ b/Mage.Sets/src/mage/sets/ravnika/SunderingVitae.java @@ -0,0 +1,76 @@ +/* + * 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; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.cards.CardImpl; +import mage.filter.FilterPermanent; +import mage.filter.predicate.Predicates; +import mage.filter.predicate.mageobject.CardTypePredicate; +import mage.target.TargetPermanent; + +/** + * + * @author jonubuu + */ +public class SunderingVitae extends CardImpl { + + private static final FilterPermanent filter = new FilterPermanent("artifact or enchantment"); + + static { + filter.add(Predicates.or( + new CardTypePredicate(CardType.ARTIFACT), + new CardTypePredicate(CardType.ENCHANTMENT))); + } + + public SunderingVitae(UUID ownerId) { + super(ownerId, 185, "Sundering Vitae", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{G}"); + this.expansionSetCode = "RAV"; + + this.color.setGreen(true); + + // Convoke + this.addAbility(new ConvokeAbility()); + // Destroy target artifact or enchantment. + this.getSpellAbility().addTarget(new TargetPermanent(filter)); + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + } + + public SunderingVitae(final SunderingVitae card) { + super(card); + } + + @Override + public SunderingVitae copy() { + return new SunderingVitae(this); + } +} diff --git a/Mage.Sets/src/mage/sets/sixthedition/Shatterstorm.java b/Mage.Sets/src/mage/sets/sixthedition/Shatterstorm.java new file mode 100644 index 0000000000..da86c999d1 --- /dev/null +++ b/Mage.Sets/src/mage/sets/sixthedition/Shatterstorm.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.sixthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author jonubuu + */ +public class Shatterstorm extends mage.sets.fifthedition.Shatterstorm { + + public Shatterstorm(UUID ownerId) { + super(ownerId); + this.cardNumber = 205; + this.expansionSetCode = "6ED"; + this.rarity = Rarity.RARE; + } + + public Shatterstorm(final Shatterstorm card) { + super(card); + } + + @Override + public Shatterstorm copy() { + return new Shatterstorm(this); + } +} diff --git a/Mage.Sets/src/mage/sets/tenth/GoblinLore.java b/Mage.Sets/src/mage/sets/tenth/GoblinLore.java new file mode 100644 index 0000000000..9455e12152 --- /dev/null +++ b/Mage.Sets/src/mage/sets/tenth/GoblinLore.java @@ -0,0 +1,100 @@ +/* + * 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.tenth; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Outcome; +import mage.Constants.Rarity; +import mage.abilities.Ability; +import mage.abilities.effects.OneShotEffect; +import mage.cards.Card; +import mage.cards.CardImpl; +import mage.cards.Cards; +import mage.game.Game; +import mage.players.Player; + +/** + * + * @author jonubuu + */ +public class GoblinLore extends CardImpl { + + public GoblinLore(UUID ownerId) { + super(ownerId, 208, "Goblin Lore", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{R}"); + this.expansionSetCode = "10E"; + + this.color.setRed(true); + + // Draw four cards, then discard three cards at random. + this.getSpellAbility().addEffect(new GoblinLoreEffect()); + } + + public GoblinLore(final GoblinLore card) { + super(card); + } + + @Override + public GoblinLore copy() { + return new GoblinLore(this); + } +} + +class GoblinLoreEffect extends OneShotEffect { + + public GoblinLoreEffect() { + super(Outcome.DrawCard); + this.staticText = "Draw four cards, then discard three cards at random"; + } + + public GoblinLoreEffect(final GoblinLoreEffect effect) { + super(effect); + } + + @Override + public GoblinLoreEffect copy() { + return new GoblinLoreEffect(this); + } + + @Override + public boolean apply(Game game, Ability source) { + Player player = game.getPlayer(source.getControllerId()); + if (player != null) { + player.drawCards(4, game); + Cards hand = player.getHand(); + for (int i = 0; i < 3; i++) { + Card card = hand.getRandom(game); + if (card != null) { + player.discard(card, source, game); + } + } + return true; + } + return false; + } +} diff --git a/Mage.Sets/src/mage/sets/tenth/Shatterstorm.java b/Mage.Sets/src/mage/sets/tenth/Shatterstorm.java new file mode 100644 index 0000000000..882359bf38 --- /dev/null +++ b/Mage.Sets/src/mage/sets/tenth/Shatterstorm.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.tenth; + +import java.util.UUID; + +/** + * + * @author jonubuu + */ +public class Shatterstorm extends mage.sets.fifthedition.Shatterstorm { + + public Shatterstorm(UUID ownerId) { + super(ownerId); + this.cardNumber = 229; + this.expansionSetCode = "10E"; + } + + public Shatterstorm(final Shatterstorm card) { + super(card); + } + + @Override + public Shatterstorm copy() { + return new Shatterstorm(this); + } +}