From 083c11a9d0e29fa277cdc0b06ef703ad4e3e7307 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 14 Apr 2018 15:25:30 -0400 Subject: [PATCH] Implemented Llanowar Scout --- Mage.Sets/src/mage/cards/l/LlanowarScout.java | 67 +++++++++++++++++++ Mage.Sets/src/mage/sets/Dominaria.java | 1 + Utils/mtg-cards-data.txt | 2 +- 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/l/LlanowarScout.java diff --git a/Mage.Sets/src/mage/cards/l/LlanowarScout.java b/Mage.Sets/src/mage/cards/l/LlanowarScout.java new file mode 100644 index 00000000000..abd1722d943 --- /dev/null +++ b/Mage.Sets/src/mage/cards/l/LlanowarScout.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.cards.l; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.effects.common.PutLandFromHandOntoBattlefieldEffect; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Zone; + +/** + * + * @author TheElk801 + */ +public class LlanowarScout extends CardImpl { + + public LlanowarScout(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}"); + + this.subtype.add(SubType.ELF); + this.subtype.add(SubType.SCOUT); + this.power = new MageInt(1); + this.toughness = new MageInt(3); + + // {T}: You may put a land card from your hand onto the battlefield. + this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutLandFromHandOntoBattlefieldEffect(), new TapSourceCost())); + } + + public LlanowarScout(final LlanowarScout card) { + super(card); + } + + @Override + public LlanowarScout copy() { + return new LlanowarScout(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Dominaria.java b/Mage.Sets/src/mage/sets/Dominaria.java index 5bc1b82bce3..79960b9d8bf 100644 --- a/Mage.Sets/src/mage/sets/Dominaria.java +++ b/Mage.Sets/src/mage/sets/Dominaria.java @@ -142,6 +142,7 @@ public class Dominaria extends ExpansionSet { cards.add(new SetCardInfo("Knight of New Benalia", 24, Rarity.COMMON, mage.cards.k.KnightOfNewBenalia.class)); cards.add(new SetCardInfo("Llanowar Elves", 168, Rarity.COMMON, mage.cards.l.LlanowarElves.class)); cards.add(new SetCardInfo("Llanowar Envoy", 169, Rarity.COMMON, mage.cards.l.LlanowarEnvoy.class)); + cards.add(new SetCardInfo("Llanowar Scout", 170, Rarity.COMMON, mage.cards.l.LlanowarScout.class)); cards.add(new SetCardInfo("Lyra Dawnbringer", 14, Rarity.MYTHIC, mage.cards.l.LyraDawnbringer.class)); cards.add(new SetCardInfo("Marwyn, the Nurturer", 172, Rarity.RARE, mage.cards.m.MarwynTheNurturer.class)); cards.add(new SetCardInfo("Meandering River", 274, Rarity.COMMON, mage.cards.m.MeanderingRiver.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 9ade81b1f4d..ede92576458 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -33103,7 +33103,7 @@ Invoke the Divine|Dominaria|22|C|{2}{W}|Instant|||Destroy target artifact or enc Knight of Grace|Dominaria|23|U|{1}{W}|Creature - Human Knight|2|2|First strike$Hexproof from black (This creature can't be the target of black spells or abilities your opponents control.)$Knight of Grace gets +1/+0 as long as any player controls a black permanent.| Knight of New Benalia|Dominaria|24|C|{1}{W}|Creature - Human Knight|3|1|| Kwende, Pride of Femeref|Dominaria|25|U|{3}{W}|Legendary Creature - Human Knight|2|2|Double strike$Creatures you control with first strike have double strike.| -Lyra Dawnbriger|Dominaria|26|M|{3}{W}{W}|Legendary Creature - Angel|5|5|Flying, first strike, lifelink$Other Angels you control get +1/+1 and have lifelink.| +Lyra Dawnbringer|Dominaria|26|M|{3}{W}{W}|Legendary Creature - Angel|5|5|Flying, first strike, lifelink$Other Angels you control get +1/+1 and have lifelink.| Mesa Unicorn|Dominaria|27|C|{1}{W}|Creature - Unicorn|2|2|Lifelink| On Serra's Wings|Dominaria|28|U|{3}{W}|Legendary Enchantment - Aura|||Enchant creature$Enchanted creature is legendary, gets +1/+1, and has flying, vigilance, and lifelink.| Pegasus Courser|Dominaria|29|C|{2}{W}|Creature - Pegasus|1|3|Flying$Whenever Pegasus Courser attacks, another target attacking creature gains flying until end of turn.|