From cd884114e0d4dec8936ada3adf35c0d043fd89d0 Mon Sep 17 00:00:00 2001 From: fireshoes Date: Fri, 9 Jan 2015 15:28:53 -0600 Subject: [PATCH] Added Pressure Point, Sandblast, and Enhanced Awareness --- .../sets/fatereforged/EnhancedAwareness.java | 59 ++++++++++++++++++ .../mage/sets/fatereforged/PressurePoint.java | 61 +++++++++++++++++++ .../src/mage/sets/fatereforged/Sandblast.java | 59 ++++++++++++++++++ Utils/mtg-cards-data.txt | 2 +- 4 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/sets/fatereforged/EnhancedAwareness.java create mode 100644 Mage.Sets/src/mage/sets/fatereforged/PressurePoint.java create mode 100644 Mage.Sets/src/mage/sets/fatereforged/Sandblast.java diff --git a/Mage.Sets/src/mage/sets/fatereforged/EnhancedAwareness.java b/Mage.Sets/src/mage/sets/fatereforged/EnhancedAwareness.java new file mode 100644 index 00000000000..73cace76fcb --- /dev/null +++ b/Mage.Sets/src/mage/sets/fatereforged/EnhancedAwareness.java @@ -0,0 +1,59 @@ +/* + * 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.fatereforged; + +import java.util.UUID; +import mage.abilities.effects.common.DrawDiscardControllerEffect; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; + +/** + * + * @author fireshoes + */ +public class EnhancedAwareness extends CardImpl { + + public EnhancedAwareness(UUID ownerId) { + super(ownerId, 33, "Enhanced Awareness", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{4}{U}"); + this.expansionSetCode = "FRF"; + + // Draw three cards, then discard a card. + this.getSpellAbility().addEffect(new DrawDiscardControllerEffect(3,1)); + + } + + public EnhancedAwareness(final EnhancedAwareness card) { + super(card); + } + + @Override + public EnhancedAwareness copy() { + return new EnhancedAwareness(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fatereforged/PressurePoint.java b/Mage.Sets/src/mage/sets/fatereforged/PressurePoint.java new file mode 100644 index 00000000000..e7ea5abb701 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fatereforged/PressurePoint.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.fatereforged; + +import java.util.UUID; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.TapTargetEffect; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; + +/** + * + * @author fireshoes + */ +public class PressurePoint extends CardImpl { + + public PressurePoint(UUID ownerId) { + super(ownerId, 21, "Pressure Point", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{W}"); + this.expansionSetCode = "FRF"; + + // Tap target creature. + this.getSpellAbility().addEffect(new TapTargetEffect()); + // Draw a card. + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)); + } + + public PressurePoint(final PressurePoint card) { + super(card); + } + + @Override + public PressurePoint copy() { + return new PressurePoint(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fatereforged/Sandblast.java b/Mage.Sets/src/mage/sets/fatereforged/Sandblast.java new file mode 100644 index 00000000000..d2b497ee17d --- /dev/null +++ b/Mage.Sets/src/mage/sets/fatereforged/Sandblast.java @@ -0,0 +1,59 @@ +/* + * 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.fatereforged; + +import java.util.UUID; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; +import mage.target.common.TargetAttackingOrBlockingCreature; + +/** + * + * @author fireshoes + */ +public class Sandblast extends CardImpl { + + public Sandblast(UUID ownerId) { + super(ownerId, 24, "Sandblast", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{W}"); + this.expansionSetCode = "FRF"; + + // Sandblast deals 5 damage to target attacking or blocking creature. + getSpellAbility().addEffect(new DamageTargetEffect(5)); + getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature()); } + + public Sandblast(final Sandblast card) { + super(card); + } + + @Override + public Sandblast copy() { + return new Sandblast(this); + } +} diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 564f67e5656..fe8ecbb518d 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -25241,7 +25241,7 @@ Monastery Mentor|Fate Reforged|20|M|{2}{W}|Creature - Human Monk|2|2|Prowess Pressure Point|Fate Reforged|21|C|{1}{W}|Instant|||Tap target creature.$Draw a card.| ~Rally the Ancestors|Fate Reforged|22|R|{X}{W}{W}|Instant|||Return each creature card with converted mana cost X or less from your graveyard to the battlefield. Exile those creatures at the beginning of your next upkeep. Exile ~.| Sage's Reverie|Fate Reforged|23|U|{3}{W}|Enchantment - Aura|||Enchant creature.$When Sage's Reverie enters the battlefield, draw a card for each aura you control that's attached to a creature.$Enchanted creature gets +1/+1 for each aura you control that's attached to a creature.| -Sandblast|Fate Reforged|24|C|{2}{W}|Instant|||Sandblast deals 5 damage to target attacking or blocking creature.$Sandblast deals 5 damage to target attacking or blocking creature.| +Sandblast|Fate Reforged|24|C|{2}{W}|Instant|||Sandblast deals 5 damage to target attacking or blocking creature.| Sandsteppe Outcast|Fate Reforged|25|C|{2}{W}|Creature - Human Warrior|2|12|1|When Sandsteppe Outcast enters the battlefield, choose one —$• Put a +1/+1 counter on Sandsteppe Outcast.$• Put a 1/1 white Spirit creature token with flying onto the battlefield.$When Sandsteppe Outcast enters the battlefield, choose one —$• Put a +1/+1 counter on Sandsteppe Outcast.$• Put a 1/1 white Spirit creature token with flying onto the battlefield.| Soul Summons|Fate Reforged|26|C|{1}{W}|Sorcery|||Manifest the top card of your library. (Put it onto the battlefield face down as a 2/2 creature. Turn it face up at any time for its mana cost if it's a creature card.)| Soulfire Grand Master|Fate Reforged|27|M|{1}{W}|Creature - Human Monk|2|2|Lifelink$Instant and sorcery spells you control have lifelink.${2}{(U/R)}{(U/R)}: The next time you cast an instant or sorcery spell from your hand this turn, put that card into your hand instead of your graveyard as it resolves.|