From 6ea54aec8b82d0cd08cd2f8490a7535af91e4bae Mon Sep 17 00:00:00 2001 From: Daniel Bomar Date: Mon, 18 Jan 2021 10:59:05 -0600 Subject: [PATCH] [KHM] Implemented Draugr Thought-Thief --- .../src/mage/cards/d/DraugrThoughtThief.java | 42 +++++++++++++++++++ Mage.Sets/src/mage/sets/Kaldheim.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/d/DraugrThoughtThief.java diff --git a/Mage.Sets/src/mage/cards/d/DraugrThoughtThief.java b/Mage.Sets/src/mage/cards/d/DraugrThoughtThief.java new file mode 100644 index 0000000000..c6b4569b3d --- /dev/null +++ b/Mage.Sets/src/mage/cards/d/DraugrThoughtThief.java @@ -0,0 +1,42 @@ +package mage.cards.d; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.LookLibraryTopCardTargetPlayerEffect; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.TargetPlayer; + +/** + * + * @author weirddan455 + */ +public final class DraugrThoughtThief extends CardImpl { + + public DraugrThoughtThief(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}"); + + this.subtype.add(SubType.ZOMBIE); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // When Draugr Thought-Thief enters the battlefield, look at the top card of target player's library. You may put that card into their graveyard. + Ability ability = new EntersBattlefieldTriggeredAbility(new LookLibraryTopCardTargetPlayerEffect(1, true)); + ability.addTarget(new TargetPlayer()); + this.addAbility(ability); + } + + private DraugrThoughtThief(final DraugrThoughtThief card) { + super(card); + } + + @Override + public DraugrThoughtThief copy() { + return new DraugrThoughtThief(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index cedc40e5dc..e346ab3c9c 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -118,6 +118,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("Dogged Pursuit", 85, Rarity.COMMON, mage.cards.d.DoggedPursuit.class)); cards.add(new SetCardInfo("Doomskar Oracle", 10, Rarity.COMMON, mage.cards.d.DoomskarOracle.class)); cards.add(new SetCardInfo("Doomskar Titan", 130, Rarity.UNCOMMON, mage.cards.d.DoomskarTitan.class)); + cards.add(new SetCardInfo("Draugr Thought-Thief", 55, Rarity.COMMON, mage.cards.d.DraugrThoughtThief.class)); cards.add(new SetCardInfo("Draugr's Helm", 88, Rarity.UNCOMMON, mage.cards.d.DraugrsHelm.class)); cards.add(new SetCardInfo("Dread Rider", 89, Rarity.COMMON, mage.cards.d.DreadRider.class)); cards.add(new SetCardInfo("Dual Strike", 132, Rarity.UNCOMMON, mage.cards.d.DualStrike.class));