[MKM] Implement Undercover Crocodelf

This commit is contained in:
theelk801 2024-01-17 14:55:30 -05:00
parent 4ce81f217a
commit 6a9defd895
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.u;
import mage.MageInt;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.keyword.InvestigateEffect;
import mage.abilities.keyword.DisguiseAbility;
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 UndercoverCrocodelf extends CardImpl {
public UndercoverCrocodelf(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{U}");
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.CROCODILE);
this.subtype.add(SubType.DETECTIVE);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// Whenever Undercover Crocodelf deals combat damage to a player, investigate.
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new InvestigateEffect(), false));
// Disguise {3}{G/U}{G/U}
this.addAbility(new DisguiseAbility(this, new ManaCostsImpl<>("{3}{G/U}{G/U}")));
}
private UndercoverCrocodelf(final UndercoverCrocodelf card) {
super(card);
}
@Override
public UndercoverCrocodelf copy() {
return new UndercoverCrocodelf(this);
}
}

View file

@ -76,6 +76,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
cards.add(new SetCardInfo("Topiary Panther", 179, Rarity.COMMON, mage.cards.t.TopiaryPanther.class));
cards.add(new SetCardInfo("Trostani, Three Whispers", 238, Rarity.MYTHIC, mage.cards.t.TrostaniThreeWhispers.class));
cards.add(new SetCardInfo("Undercity Sewers", 270, Rarity.RARE, mage.cards.u.UndercitySewers.class));
cards.add(new SetCardInfo("Undercover Crocodelf", 239, Rarity.COMMON, mage.cards.u.UndercoverCrocodelf.class));
cards.add(new SetCardInfo("Underground Mortuary", 271, Rarity.RARE, mage.cards.u.UndergroundMortuary.class));
cards.add(new SetCardInfo("Warleader's Call", 242, Rarity.RARE, mage.cards.w.WarleadersCall.class));
cards.add(new SetCardInfo("Wojek Investigator", 36, Rarity.RARE, mage.cards.w.WojekInvestigator.class));