[LCI] Implement Envoy of Okinec Ahau

This commit is contained in:
theelk801 2023-11-03 19:07:13 -04:00
parent 60f1abaef3
commit 59cc49517f
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.e;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.GnomeToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class EnvoyOfOkinecAhau extends CardImpl {
public EnvoyOfOkinecAhau(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
this.subtype.add(SubType.CAT);
this.subtype.add(SubType.ADVISOR);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// {4}{W}: Create a 1/1 colorless Gnome artifact creature token.
this.addAbility(new SimpleActivatedAbility(
new CreateTokenEffect(new GnomeToken()), new ManaCostsImpl<>("{4}{W}")
));
}
private EnvoyOfOkinecAhau(final EnvoyOfOkinecAhau card) {
super(card);
}
@Override
public EnvoyOfOkinecAhau copy() {
return new EnvoyOfOkinecAhau(this);
}
}

View file

@ -80,6 +80,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
cards.add(new SetCardInfo("Earthshaker Dreadmaw", 183, Rarity.UNCOMMON, mage.cards.e.EarthshakerDreadmaw.class));
cards.add(new SetCardInfo("Echoing Deeps", 271, Rarity.RARE, mage.cards.e.EchoingDeeps.class));
cards.add(new SetCardInfo("Enterprising Scallywag", 148, Rarity.UNCOMMON, mage.cards.e.EnterprisingScallywag.class));
cards.add(new SetCardInfo("Envoy of Okinec Ahau", 11, Rarity.COMMON, mage.cards.e.EnvoyOfOkinecAhau.class));
cards.add(new SetCardInfo("Explorer's Cache", 184, Rarity.UNCOMMON, mage.cards.e.ExplorersCache.class));
cards.add(new SetCardInfo("Fanatical Offering", 105, Rarity.COMMON, mage.cards.f.FanaticalOffering.class));
cards.add(new SetCardInfo("Forest", 291, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));