From e367fe40b1ab2c0cd75d23712e3df8e48b851ca1 Mon Sep 17 00:00:00 2001 From: fireshoes Date: Wed, 6 Jan 2016 11:07:28 -0600 Subject: [PATCH] [OGW] Added Relief Captain, Jwar Isle Avenger, Goblin Freerunner, and Void Shatter. --- .../oathofthegatewatch/GoblinFreerunner.java | 68 +++++++++++++++++++ .../oathofthegatewatch/JwarIsleAvenger.java | 66 ++++++++++++++++++ .../oathofthegatewatch/ReliefCaptain.java | 64 +++++++++++++++++ .../sets/oathofthegatewatch/VoidShatter.java | 65 ++++++++++++++++++ Utils/mtg-cards-data.txt | 4 ++ 5 files changed, 267 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/oathofthegatewatch/GoblinFreerunner.java create mode 100644 Mage.Sets/src/mage/sets/oathofthegatewatch/JwarIsleAvenger.java create mode 100644 Mage.Sets/src/mage/sets/oathofthegatewatch/ReliefCaptain.java create mode 100644 Mage.Sets/src/mage/sets/oathofthegatewatch/VoidShatter.java diff --git a/Mage.Sets/src/mage/sets/oathofthegatewatch/GoblinFreerunner.java b/Mage.Sets/src/mage/sets/oathofthegatewatch/GoblinFreerunner.java new file mode 100644 index 00000000000..da19c3758dc --- /dev/null +++ b/Mage.Sets/src/mage/sets/oathofthegatewatch/GoblinFreerunner.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.oathofthegatewatch; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.keyword.MenaceAbility; +import mage.abilities.keyword.SurgeAbility; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; + +/** + * + * @author fireshoes + */ +public class GoblinFreerunner extends CardImpl { + + public GoblinFreerunner(UUID ownerId) { + super(ownerId, 111, "Goblin Freerunner", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{R}"); + this.expansionSetCode = "OGW"; + this.subtype.add("Goblin"); + this.subtype.add("Warrior"); + this.subtype.add("Ally"); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // Surge {1}{R} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.) + addAbility(new SurgeAbility(this, "{1}{R}")); + + // Menace + this.addAbility(new MenaceAbility()); + } + + public GoblinFreerunner(final GoblinFreerunner card) { + super(card); + } + + @Override + public GoblinFreerunner copy() { + return new GoblinFreerunner(this); + } +} diff --git a/Mage.Sets/src/mage/sets/oathofthegatewatch/JwarIsleAvenger.java b/Mage.Sets/src/mage/sets/oathofthegatewatch/JwarIsleAvenger.java new file mode 100644 index 00000000000..c02da7189dc --- /dev/null +++ b/Mage.Sets/src/mage/sets/oathofthegatewatch/JwarIsleAvenger.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.oathofthegatewatch; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.SurgeAbility; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; + +/** + * + * @author fireshoes + */ +public class JwarIsleAvenger extends CardImpl { + + public JwarIsleAvenger(UUID ownerId) { + super(ownerId, 58, "Jwar Isle Avenger", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{4}{U}"); + this.expansionSetCode = "OGW"; + this.subtype.add("Sphinx"); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Surge {2}{U} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.) + addAbility(new SurgeAbility(this, "{2}{U}")); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + } + + public JwarIsleAvenger(final JwarIsleAvenger card) { + super(card); + } + + @Override + public JwarIsleAvenger copy() { + return new JwarIsleAvenger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/oathofthegatewatch/ReliefCaptain.java b/Mage.Sets/src/mage/sets/oathofthegatewatch/ReliefCaptain.java new file mode 100644 index 00000000000..f09f489951b --- /dev/null +++ b/Mage.Sets/src/mage/sets/oathofthegatewatch/ReliefCaptain.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.oathofthegatewatch; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.keyword.SupportAbility; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; + +/** + * + * @author fireshoes + */ +public class ReliefCaptain extends CardImpl { + + public ReliefCaptain(UUID ownerId) { + super(ownerId, 32, "Relief Captain", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{2}{W}{W}"); + this.expansionSetCode = "OGW"; + this.subtype.add("Kor"); + this.subtype.add("Knight"); + this.subtype.add("Ally"); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // When Relief Captain enters the battlefield, support 3. + this.addAbility(new SupportAbility(this, 3)); + } + + public ReliefCaptain(final ReliefCaptain card) { + super(card); + } + + @Override + public ReliefCaptain copy() { + return new ReliefCaptain(this); + } +} diff --git a/Mage.Sets/src/mage/sets/oathofthegatewatch/VoidShatter.java b/Mage.Sets/src/mage/sets/oathofthegatewatch/VoidShatter.java new file mode 100644 index 00000000000..b937b5f410f --- /dev/null +++ b/Mage.Sets/src/mage/sets/oathofthegatewatch/VoidShatter.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.oathofthegatewatch; + +import java.util.UUID; +import mage.abilities.effects.common.CounterTargetWithReplacementEffect; +import mage.abilities.keyword.DevoidAbility; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; +import mage.constants.Zone; +import mage.target.TargetSpell; + +/** + * + * @author fireshoes + */ +public class VoidShatter extends CardImpl { + + public VoidShatter(UUID ownerId) { + super(ownerId, 49, "Void Shatter", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{U}{U}"); + this.expansionSetCode = "OGW"; + + // Devoid + this.addAbility(new DevoidAbility(this.color)); + + // Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. + this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.EXILED)); + this.getSpellAbility().addTarget(new TargetSpell()); + } + + public VoidShatter(final VoidShatter card) { + super(card); + } + + @Override + public VoidShatter copy() { + return new VoidShatter(this); + } +} diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index c3b2520691b..27d18f94b1e 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -28258,14 +28258,17 @@ Immolating Glare|Oath of the Gatewatch|20|U|{1}{W}|Instant|||Destroy target atta Linvala, the Preserver|Oath of the Gatewatch|25|M|{4}{W}{W}|Legendary Creature - Angel|5|5|Flying$When Linvala, the Preserver enters the battlefield, if an opponent has more life than you, you gain 5 life.$When Linvala enters the battlefield, if an opponent controls more creatures than you, put a 3/3 white Angel creature token with flying onto the battlefield.| Munda's Vanguard|Oath of the Gatewatch|29|R|{4}{W}|Creature - Kor Knight Ally|3|3|Cohort — {T}, Tap an untapped Ally you control: Put a +1/+1 counter on each creature you control.| Oath of Gideon|Oath of the Gatewatch|30|R|{2}{W}|Legendary Enchantment|||When Oath of Gideon enters the battlefield, put two 1/1 Kor Ally creature tokens onto the battlefield.$Each planeswalker you control enters the battlefield with an additional loyalty counter on it.| +Relief Captain|Oath of the Gatewatch|32|U|{2}{W}{W}|Creature - Kor Knight Ally|3|2|When Relief Captain enters the battlefield, support 3 (Put a +1/+1 counter on each of up to three other target creatures.)| Shoulder to Shoulder|Oath of the Gatewatch|34|C|{2}{W}|Sorcery|||Support 2. (Put a +1/+1 counter on each of up to two target creatures.)$Draw a card.| Stone Haven Outfitter|Oath of the Gatewatch|37|R|{1}{W}|Creature - Kor Artificer Ally|2|2|Equipped creatures you control get +1/+1.$Whenever an equipped creature you control dies, draw a card.| Deepfathom Skulker|Oath of the Gatewatch|43|R|{5}{U}|Creature - Eldrazi|4|4|Devoid (This card has no color.)$Whenever a creature you control deals combat damage to a player, you may draw a card.${3}{C}: Target creature can't be blocked this turn.| Prophet of Distortion|Oath of the Gatewatch|46|U|{U}|Creature - Eldrazi Drone|1|2|Devoid (This card has no color.)${3}{C}: Draw a card.| +Void Shatter|Oath of the Gatewatch|49|U|{1}{U}{U}|Instant|||Devoid (This card has no color.)$Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.| Comparative Analysis|Oath of the Gatewatch|51|C|{3}{U}|Instant|||Surge {2}{U} $Target player draws two cards.| Crush of Tentacles|Oath of the Gatewatch|53|M|{4}{U}{U}|Sorcery|||Surge {3}{U}{U} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)$Return all nonland permanents to their owners' hands. If Crush of Tentacles surge cost was paid, put an 8/8 blue Octopus creature token onto the battlefield.| Gift of Tusks|Oath of the Gatewatch|55|U|{U}|Instant|||Until end of turn, target creature loses all abilities and becomes a green Elephant with base power and toughness 3/3.| Hedron Alignment|Oath of the Gatewatch|57|R|{2}{U}|Enchantment|||Hexproof$At the beginning of your upkeep, you may reveal your hand. If you do, you win the game if you own a card named Hedron Alignment in exile, in your hand, in your graveyard, and on the battlefield.${1}{U}: Scry 1.| +Jwar Isle Avernger|Oath of the Gatewatch|58|C|{4}{U}|Creature - Sphinx|3|3|Surge {2}{U} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)$Flying| Oath of Jace|Oath of the Gatewatch|60|R|{2}{U}|Legendary Enchantment|||When Oath of Jace enters the battlefield, draw three cards, then discard two cards.$At the beginning of your upkeep, scry X, where X is the number of planeswalkers you control.| Overwhelming Denial|Oath of the Gatewatch|61|R|{2}{U}{U}|Instant|||Surge {U}{U} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)$Overwhelming Denial can't be countered by spell or abilities.$Counter target spell.| Sphinx of the Final Word|Oath of the Gatewatch|63|M|{5}{U}{U}|Creature - Sphinx|5|5|Sphinx of the Final Word can't be countered.$Flying, hexproof$Instant and sorcery spells you control can't be countered by spells or abilities.| @@ -28284,6 +28287,7 @@ Chandra, Flamecaller|Oath of the Gatewatch|104|M|{4}{R}{R}|Planeswalker - Chandr Embodiment of Fury|Oath of the Gatewatch|107|U|{3}{R}|Creature - Elemental|4|3|Trample$Land creatures you control have trample.$Landfall - Whenever a land enters the battlefield under your control, you may have target land you control become a 3/3 Elemental creature with haste until end of turn. It's still a land.| Fall of the Titans|Oath of the Gatewatch|109|R|{X}{X}{R}|Instant|||Surge {X}{R} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)$Fall of the Titans deals X damage to each of up to two target creatures and/or players.| Goblin Dark-Dwellers|Oath of the Gatewatch|110|R|{3}{R}{R}|Creature - Goblin|4|4|Menace$When Goblin Dark-Dwellers enters the battlefield, you may cast target instant or sorcery card with converted mana cost 3 or less from your graveyard without paying its mana cost. If that card would be put into your graveyard this turn, exile it instead.| +Goblin Freerunner|Oath of the Gatewatch|111|C|{3}{R}|Creature - Goblin Warrior Ally|3|2|Surge {1}{R} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)$Menace (This creature can't be blocked expect by two or more creatures.) Oath of Chandra|Oath of the Gatewatch|113|R|{1}{R}|Legendary Enchantment|||When Oath of Chandra enters the battlefield, it deals 3 damage to target creature an opponent controls.$At the beginning of each end step, if a planeswalker entered the battlefield under your control this turn, Oath of Chandra deals 2 damage to each opponent.| Pyromancer's Assault|Oath of the Gatewatch|115|U|{3}{R}|Enchantment|||Whenever you cast your second spell each turn, Pyromancer's Assault deals 2 damage to target creature or player.| Reckless Bushwhacker|Oath of the Gatewatch|116|U|{2}{R}|Creature - Goblin Warrior Ally|2|1|Surge {1}{R} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)$Haste$When Reckless Bushwhacker enters the battlefield, if its surge cost was paid, other creatures you control get +1/+0 and gain haste until end of turn.|