From dfe83b0b4e144067de1ae9323420ff978f939e10 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 4 Sep 2018 23:06:16 -0400 Subject: [PATCH] Implemented Arboretum Elemental --- .../src/mage/cards/a/ArboretumElemental.java | 40 +++++++++++++++++++ Mage.Sets/src/mage/sets/GuildsOfRavnica.java | 1 + Utils/mtg-cards-data.txt | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/a/ArboretumElemental.java diff --git a/Mage.Sets/src/mage/cards/a/ArboretumElemental.java b/Mage.Sets/src/mage/cards/a/ArboretumElemental.java new file mode 100644 index 00000000000..bef1966858e --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/ArboretumElemental.java @@ -0,0 +1,40 @@ +package mage.cards.a; + +import java.util.UUID; +import mage.MageInt; +import mage.constants.SubType; +import mage.abilities.keyword.ConvokeAbility; +import mage.abilities.keyword.HexproofAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * + * @author TheElk801 + */ +public final class ArboretumElemental extends CardImpl { + + public ArboretumElemental(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{7}{G}{G}"); + + this.subtype.add(SubType.ELEMENTAL); + this.power = new MageInt(7); + this.toughness = new MageInt(5); + + // Convoke + this.addAbility(new ConvokeAbility()); + + // Hexproof + this.addAbility(HexproofAbility.getInstance()); + } + + public ArboretumElemental(final ArboretumElemental card) { + super(card); + } + + @Override + public ArboretumElemental copy() { + return new ArboretumElemental(this); + } +} diff --git a/Mage.Sets/src/mage/sets/GuildsOfRavnica.java b/Mage.Sets/src/mage/sets/GuildsOfRavnica.java index 67609bd7731..4285f793eb1 100644 --- a/Mage.Sets/src/mage/sets/GuildsOfRavnica.java +++ b/Mage.Sets/src/mage/sets/GuildsOfRavnica.java @@ -22,6 +22,7 @@ public final class GuildsOfRavnica extends ExpansionSet { this.numBoosterRare = 1; this.ratioBoosterMythic = 8; + cards.add(new SetCardInfo("Arboretum Elemental", 122, Rarity.UNCOMMON, mage.cards.a.ArboretumElemental.class)); cards.add(new SetCardInfo("Blade Instructor", 1, Rarity.COMMON, mage.cards.b.BladeInstructor.class)); cards.add(new SetCardInfo("Barging Sergeant", 92, Rarity.COMMON, mage.cards.b.BargingSergeant.class)); cards.add(new SetCardInfo("Boros Challenger", 156, Rarity.UNCOMMON, mage.cards.b.BorosChallenger.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index cf8343e601d..3d799c68507 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -34313,7 +34313,7 @@ Necrotic Wound|Guilds of Ravnica|79|U|{B}|Instant|||Undergrowth — Target creat Barging Sergeant|Guilds of Ravnica|92|C|{4}{R}|Creature - Minotaur Soldier|4|2|Haste$Mentor| Direct Current|Guilds of Ravnica|96|C|{1}{R}{R}|Sorcery|||Direct Current deals 2 damage to any target.$Jump-start| Legion Warboss|Guilds of Ravnica|109|R|{2}{R}|Creature - Goblin Soldier|2|2|Mentor$At the beginning of combat on your turn, create a 1/1 red Goblin creature token. That token gains haste until end of turn and attacks this combat if able.| -Arboretum Elemental|Guilds of Ravnica|122|U|{7}{G}{G}|Creature - Elemental|7|5|Convoke| +Arboretum Elemental|Guilds of Ravnica|122|U|{7}{G}{G}|Creature - Elemental|7|5|Convoke$Hexproof| Boros Challenger|Guilds of Ravnica|156|U|{R}{W}|Creature - Human Soldier|2|3|Mentor${2}{R}{W}: Boros Challenger gets +1/+1 until end of turn.| Emmara, Soul of the Accord|Guilds of Ravnica|168|R|{G}{W}|Legendary Creature - Elf Cleric|2|2|Whenever Emmara, Soul of the Accord becomes tapped, create a 1/1 white Soldier creature token with lifelink.| Firemind's Research|Guilds of Ravnica|171|R|{U}{R}|Enchantment|||Whenever you cast an instant or sorcery spell, put a charge counter on Firemind's Research.${1}{U}, Remove two charge counters from Firemind's Research: Draw a card.${1}{R}, Remove five charge counters from Firemind's Research: It deals 5 damage to any target.|