From 876aa42b3d127881252dfa9bb1c3f9a35c2ad481 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 1 Jun 2021 20:26:06 -0400 Subject: [PATCH] [MH2] Implemented Floodhound --- Mage.Sets/src/mage/cards/f/Floodhound.java | 43 ++++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons2.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/f/Floodhound.java diff --git a/Mage.Sets/src/mage/cards/f/Floodhound.java b/Mage.Sets/src/mage/cards/f/Floodhound.java new file mode 100644 index 0000000000..33a078f594 --- /dev/null +++ b/Mage.Sets/src/mage/cards/f/Floodhound.java @@ -0,0 +1,43 @@ +package mage.cards.f; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.keyword.InvestigateEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Floodhound extends CardImpl { + + public Floodhound(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}"); + + this.subtype.add(SubType.ELEMENTAL); + this.subtype.add(SubType.DOG); + this.power = new MageInt(1); + this.toughness = new MageInt(2); + + // {3}, {T}: Investigate. + Ability ability = new SimpleActivatedAbility(new InvestigateEffect(), new GenericManaCost(3)); + ability.addCost(new TapSourceCost()); + this.addAbility(ability); + } + + private Floodhound(final Floodhound card) { + super(card); + } + + @Override + public Floodhound copy() { + return new Floodhound(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons2.java b/Mage.Sets/src/mage/sets/ModernHorizons2.java index d8471818fe..3478ec6b98 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons2.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons2.java @@ -84,6 +84,7 @@ public final class ModernHorizons2 extends ExpansionSet { cards.add(new SetCardInfo("Flame Rift", 278, Rarity.UNCOMMON, mage.cards.f.FlameRift.class)); cards.add(new SetCardInfo("Flametongue Yearling", 125, Rarity.UNCOMMON, mage.cards.f.FlametongueYearling.class)); cards.add(new SetCardInfo("Flay Essence", 85, Rarity.UNCOMMON, mage.cards.f.FlayEssence.class)); + cards.add(new SetCardInfo("Floodhound", 42, Rarity.COMMON, mage.cards.f.Floodhound.class)); cards.add(new SetCardInfo("Forest", 489, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Foundation Breaker", 160, Rarity.UNCOMMON, mage.cards.f.FoundationBreaker.class)); cards.add(new SetCardInfo("Fractured Sanity", 44, Rarity.RARE, mage.cards.f.FracturedSanity.class));