From 986f961552e35d718b59ae5d8d7ef5afa5f7ce24 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 12 Jul 2024 09:53:16 -0400 Subject: [PATCH] [BLB] Implement Diresight --- Mage.Sets/src/mage/cards/d/Diresight.java | 34 +++++++++++++++++++++++ Mage.Sets/src/mage/sets/Bloomburrow.java | 1 + 2 files changed, 35 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/d/Diresight.java diff --git a/Mage.Sets/src/mage/cards/d/Diresight.java b/Mage.Sets/src/mage/cards/d/Diresight.java new file mode 100644 index 00000000000..f5e49fd0516 --- /dev/null +++ b/Mage.Sets/src/mage/cards/d/Diresight.java @@ -0,0 +1,34 @@ +package mage.cards.d; + +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.LoseLifeSourceControllerEffect; +import mage.abilities.effects.keyword.SurveilEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Diresight extends CardImpl { + + public Diresight(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}"); + + // Surveil 2, then draw two cards. You lose 2 life. + this.getSpellAbility().addEffect(new SurveilEffect(2, false)); + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy(", then")); + this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2)); + } + + private Diresight(final Diresight card) { + super(card); + } + + @Override + public Diresight copy() { + return new Diresight(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Bloomburrow.java b/Mage.Sets/src/mage/sets/Bloomburrow.java index 389e7af6688..b5be3abf855 100644 --- a/Mage.Sets/src/mage/sets/Bloomburrow.java +++ b/Mage.Sets/src/mage/sets/Bloomburrow.java @@ -39,6 +39,7 @@ public final class Bloomburrow extends ExpansionSet { cards.add(new SetCardInfo("Carrot Cake", 7, Rarity.COMMON, mage.cards.c.CarrotCake.class)); cards.add(new SetCardInfo("Corpseberry Cultivator", 210, Rarity.COMMON, mage.cards.c.CorpseberryCultivator.class)); cards.add(new SetCardInfo("Coruscation Mage", 131, Rarity.UNCOMMON, mage.cards.c.CoruscationMage.class)); + cards.add(new SetCardInfo("Diresight", 91, Rarity.COMMON, mage.cards.d.Diresight.class)); cards.add(new SetCardInfo("Dreamdew Entrancer", 211, Rarity.RARE, mage.cards.d.DreamdewEntrancer.class)); cards.add(new SetCardInfo("Early Winter", 93, Rarity.COMMON, mage.cards.e.EarlyWinter.class)); cards.add(new SetCardInfo("Feather of Flight", 13, Rarity.UNCOMMON, mage.cards.f.FeatherOfFlight.class));