From 5eea5b9623753dba9c4d41a334e20e59613231b9 Mon Sep 17 00:00:00 2001 From: FenrisulfrX Date: Mon, 6 Apr 2015 10:57:50 -0300 Subject: [PATCH] Added Thunder Dragon Also added both decks form the DUEL DECKS: KNIGHTS VS. DRAGONS set. --- .../Knights vs. Dragons/Dragons.dck | 35 +++++++++ .../Knights vs. Dragons/Knights.dck | 46 +++++++++++ .../sets/knightsvsdragons/ThunderDragon.java | 52 +++++++++++++ .../mage/sets/starter1999/ThunderDragon.java | 78 +++++++++++++++++++ 4 files changed, 211 insertions(+) create mode 100644 Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Dragons.dck create mode 100644 Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Knights.dck create mode 100644 Mage.Sets/src/mage/sets/knightsvsdragons/ThunderDragon.java create mode 100644 Mage.Sets/src/mage/sets/starter1999/ThunderDragon.java diff --git a/Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Dragons.dck b/Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Dragons.dck new file mode 100644 index 0000000000..0e524b390e --- /dev/null +++ b/Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Dragons.dck @@ -0,0 +1,35 @@ +1 [DDG:64] Breath of Darigaaz +1 [DDG:63] Dragon's Claw +1 [DDG:66] Punishing Fire +2 [DDG:65] Dragon Fodder +1 [DDG:60] Shivan Hellkite +2 [DDG:62] Armillary Sphere +1 [DDG:61] Thunder Dragon +1 [DDG:48] Cinder Wall +1 [DDG:47] Bogardan Hellkite +1 [DDG:68] Captive Flame +1 [DDG:49] Skirk Prospector +1 [DDG:67] Spitting Earth +1 [DDG:69] Ghostfire +6 [DDG:81] Mountain +1 [DDG:51] Fire-Belly Changeling +1 [DDG:77] Jaws of Stone +1 [DDG:50] Bloodmark Mentor +2 [DDG:76] Fiery Fall +1 [DDG:75] Cone of Flame +1 [DDG:74] Shiv's Embrace +1 [DDG:73] Temporary Insanity +1 [DDG:55] Henge Guardian +1 [DDG:72] Claws of Valakut +2 [DDG:54] Dragon Whelp +1 [DDG:71] Seismic Strike +1 [DDG:53] Dragonspeaker Shaman +2 [DDG:52] Mudbutton Torchrunner +1 [DDG:70] Seething Song +1 [DDG:59] Kilnmouth Dragon +1 [DDG:58] Mordant Dragon +1 [DDG:57] Bogardan Rager +1 [DDG:56] Voracious Dragon +6 [DDG:79] Mountain +6 [DDG:78] Mountain +6 [DDG:80] Mountain diff --git a/Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Knights.dck b/Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Knights.dck new file mode 100644 index 0000000000..4f296a35c1 --- /dev/null +++ b/Mage.Client/release/sample-decks/Duel Decks/Knights vs. Dragons/Knights.dck @@ -0,0 +1,46 @@ +1 [DDG:27] Reprisal +1 [DDG:28] Test of Faith +3 [DDG:40] Plains +1 [DDG:29] Heroes' Reunion +3 [DDG:42] Plains +1 [DDG:8] Silver Knight +1 [DDG:23] Harm's Way +3 [DDG:41] Plains +1 [DDG:24] Reciprocate +1 [DDG:7] Leonin Skyhunter +2 [DDG:44] Forest +1 [DDG:25] Edge of Autumn +2 [DDG:43] Forest +1 [DDG:26] Mighty Leap +1 [DDG:9] White Knight +1 [DDG:46] Forest +1 [DDG:45] Forest +1 [DDG:20] Plover Knights +1 [DDG:21] Juniper Order Ranger +2 [DDG:3] Lionheart Maverick +2 [DDG:4] Knight of Cliffhaven +1 [DDG:5] Knight of Meadowgrain +1 [DDG:6] Knight of the White Orchid +1 [DDG:1] Knight of the Reliquary +1 [DDG:2] Caravan Escort +1 [DDG:14] Knight Exemplar +1 [DDG:15] Wilt-Leaf Cavaliers +1 [DDG:38] Treetop Village +1 [DDG:12] Benalish Lancer +3 [DDG:39] Plains +1 [DDG:13] Zhalfirin Commander +1 [DDG:36] Sejiri Steppe +1 [DDG:55] Henge Guardian +1 [DDG:18] Alaborn Cavalier +2 [DDG:37] Selesnya Sanctuary +1 [DDG:19] Skyhunter Patrol +1 [DDG:34] Oblivion Ring +1 [DDG:16] Kabira Vindicator +2 [DDG:35] Grasslands +1 [DDG:17] Kinsbaile Cavalier +1 [DDG:32] Spidersilk Armor +1 [DDG:33] Griffin Guide +1 [DDG:30] Sigil Blessing +1 [DDG:31] Loxodon Warhammer +1 [DDG:10] Knotvine Paladin +1 [DDG:11] Steward of Valeron diff --git a/Mage.Sets/src/mage/sets/knightsvsdragons/ThunderDragon.java b/Mage.Sets/src/mage/sets/knightsvsdragons/ThunderDragon.java new file mode 100644 index 0000000000..c13f81d0f9 --- /dev/null +++ b/Mage.Sets/src/mage/sets/knightsvsdragons/ThunderDragon.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.knightsvsdragons; + +import java.util.UUID; + +/** + * + * @author FenrisulfrX + */ +public class ThunderDragon extends mage.sets.starter1999.ThunderDragon { + + public ThunderDragon(UUID ownerId) { + super(ownerId); + this.cardNumber = 61; + this.expansionSetCode = "DDG"; + } + + public ThunderDragon(final ThunderDragon card) { + super(card); + } + + @Override + public ThunderDragon copy() { + return new ThunderDragon(this); + } +} diff --git a/Mage.Sets/src/mage/sets/starter1999/ThunderDragon.java b/Mage.Sets/src/mage/sets/starter1999/ThunderDragon.java new file mode 100644 index 0000000000..96565db7db --- /dev/null +++ b/Mage.Sets/src/mage/sets/starter1999/ThunderDragon.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.starter1999; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.TriggeredAbility; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.DamageAllEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; +import mage.filter.common.FilterCreaturePermanent; +import mage.filter.predicate.Predicates; +import mage.filter.predicate.mageobject.AbilityPredicate; + +/** + * + * @author FenrisulfrX + */ +public class ThunderDragon extends CardImpl { + + private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature without flying"); + + static { + filter.add(Predicates.not(new AbilityPredicate(FlyingAbility.class))); + } + + public ThunderDragon(UUID ownerId) { + super(ownerId, 119, "Thunder Dragon", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{5}{R}{R}"); + this.expansionSetCode = "S99"; + this.subtype.add("Dragon"); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When Thunder Dragon enters the battlefield, it deals 3 damage to each creature without flying. + TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DamageAllEffect(3, filter)); + this.addAbility(ability); + } + + public ThunderDragon(final ThunderDragon card) { + super(card); + } + + @Override + public ThunderDragon copy() { + return new ThunderDragon(this); + } +}