[MKM] Implement Deduce

This commit is contained in:
theelk801 2023-12-05 21:54:47 -05:00
parent 326039c4d8
commit 2b25821f7d
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
package mage.cards.d;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.keyword.InvestigateEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class Deduce extends CardImpl {
public Deduce(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
// Draw a card. Investigate.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
this.getSpellAbility().addEffect(new InvestigateEffect());
}
private Deduce(final Deduce card) {
super(card);
}
@Override
public Deduce copy() {
return new Deduce(this);
}
}

View file

@ -22,6 +22,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
this.hasBoosters = false; // temporary
cards.add(new SetCardInfo("Benthic Criminologists", 40, Rarity.COMMON, mage.cards.b.BenthicCriminologists.class));
cards.add(new SetCardInfo("Deduce", 52, Rarity.COMMON, mage.cards.d.Deduce.class));
cards.add(new SetCardInfo("Fanatical Strength", 159, Rarity.COMMON, mage.cards.f.FanaticalStrength.class));
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Gleaming Geardrake", 205, Rarity.UNCOMMON, mage.cards.g.GleamingGeardrake.class));