[MOM] Implement Injector Crocodile

This commit is contained in:
theelk801 2023-04-02 20:09:53 -04:00
parent 12a90f389e
commit 26ebac3955
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.i;
import mage.MageInt;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.keyword.IncubateEffect;
import mage.abilities.keyword.SwampcyclingAbility;
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 InjectorCrocodile extends CardImpl {
public InjectorCrocodile(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}{B}");
this.subtype.add(SubType.PHYREXIAN);
this.subtype.add(SubType.CROCODILE);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// When Injector Crocodile dies, incubate 3.
this.addAbility(new DiesSourceTriggeredAbility(new IncubateEffect(3)));
// Swampcycling {2}
this.addAbility(new SwampcyclingAbility(new ManaCostsImpl<>("{2}")));
}
private InjectorCrocodile(final InjectorCrocodile card) {
super(card);
}
@Override
public InjectorCrocodile copy() {
return new InjectorCrocodile(this);
}
}

View file

@ -55,6 +55,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
cards.add(new SetCardInfo("Harried Artisan", 143, Rarity.UNCOMMON, mage.cards.h.HarriedArtisan.class));
cards.add(new SetCardInfo("Heliod, the Radiant Dawn", 17, Rarity.RARE, mage.cards.h.HeliodTheRadiantDawn.class));
cards.add(new SetCardInfo("Heliod, the Warped Eclipse", 17, Rarity.RARE, mage.cards.h.HeliodTheWarpedEclipse.class));
cards.add(new SetCardInfo("Injector Crocodile", 329, Rarity.COMMON, mage.cards.i.InjectorCrocodile.class));
cards.add(new SetCardInfo("Interdisciplinary Mascot", 326, Rarity.RARE, mage.cards.i.InterdisciplinaryMascot.class));
cards.add(new SetCardInfo("Into the Fire", 144, Rarity.RARE, mage.cards.i.IntoTheFire.class));
cards.add(new SetCardInfo("Island", 278, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));