From 690686c02ef5e1524fd659a40383b80de8805038 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 5 Sep 2019 21:51:14 -0400 Subject: [PATCH] Implemented Embereth Shieldbreaker --- .../mage/cards/e/EmberethShieldbreaker.java | 40 +++++++++++++++++++ Mage.Sets/src/mage/sets/ThroneOfEldraine.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/e/EmberethShieldbreaker.java diff --git a/Mage.Sets/src/mage/cards/e/EmberethShieldbreaker.java b/Mage.Sets/src/mage/cards/e/EmberethShieldbreaker.java new file mode 100644 index 0000000000..f1f1e79970 --- /dev/null +++ b/Mage.Sets/src/mage/cards/e/EmberethShieldbreaker.java @@ -0,0 +1,40 @@ +package mage.cards.e; + +import mage.MageInt; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.cards.AdventureCard; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetArtifactPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class EmberethShieldbreaker extends AdventureCard { + + public EmberethShieldbreaker(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.SORCERY}, "{1}{R}", "{R}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.KNIGHT); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Battle Display + // Destroy target artifact. + this.getAdventureSpellAbility().addEffect(new DestroyTargetEffect()); + this.getAdventureSpellAbility().addTarget(new TargetArtifactPermanent()); + } + + private EmberethShieldbreaker(final EmberethShieldbreaker card) { + super(card); + } + + @Override + public EmberethShieldbreaker copy() { + return new EmberethShieldbreaker(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java index c36413b676..aefcb34122 100644 --- a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java +++ b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java @@ -40,6 +40,7 @@ public final class ThroneOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Corridor Monitor", 41, Rarity.COMMON, mage.cards.c.CorridorMonitor.class)); cards.add(new SetCardInfo("Crystal Slipper", 119, Rarity.COMMON, mage.cards.c.CrystalSlipper.class)); cards.add(new SetCardInfo("Embereth Paladin", 121, Rarity.COMMON, mage.cards.e.EmberethPaladin.class)); + cards.add(new SetCardInfo("Embereth Shieldbreaker", 122, Rarity.UNCOMMON, mage.cards.e.EmberethShieldbreaker.class)); cards.add(new SetCardInfo("Embereth Skyblazer", 321, Rarity.RARE, mage.cards.e.EmberethSkyblazer.class)); cards.add(new SetCardInfo("Eye Collector", 86, Rarity.COMMON, mage.cards.e.EyeCollector.class)); cards.add(new SetCardInfo("Faerie Formation", 316, Rarity.RARE, mage.cards.f.FaerieFormation.class));