[FDN] Implement Koma, World Eater

This commit is contained in:
theelk801 2024-10-29 19:09:59 -04:00
parent 956b301da7
commit bb56923618
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.k;
import mage.MageInt;
import mage.abilities.common.CantBeCounteredSourceAbility;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.TrampleAbility;
import mage.abilities.keyword.WardAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.game.permanent.token.KomasCoilToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class KomaWorldEater extends CardImpl {
public KomaWorldEater(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}{G}{U}{U}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.SERPENT);
this.power = new MageInt(8);
this.toughness = new MageInt(12);
// This spell can't be countered.
this.addAbility(new CantBeCounteredSourceAbility());
// Trample
this.addAbility(TrampleAbility.getInstance());
// Ward {4}
this.addAbility(new WardAbility(new ManaCostsImpl<>("{4}")));
// Whenever Koma deals combat damage to a player, create four 3/3 blue Serpent creature tokens named Koma's Coil.
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new CreateTokenEffect(new KomasCoilToken(), 4)));
}
private KomaWorldEater(final KomaWorldEater card) {
super(card);
}
@Override
public KomaWorldEater copy() {
return new KomaWorldEater(this);
}
}

View file

@ -79,6 +79,7 @@ public final class Foundations extends ExpansionSet {
cards.add(new SetCardInfo("Island", 274, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Jazal Goldmane", 497, Rarity.RARE, mage.cards.j.JazalGoldmane.class));
cards.add(new SetCardInfo("Juggernaut", 255, Rarity.UNCOMMON, mage.cards.j.Juggernaut.class));
cards.add(new SetCardInfo("Koma, World-Eater", 121, Rarity.RARE, mage.cards.k.KomaWorldEater.class));
cards.add(new SetCardInfo("Leonin Skyhunter", 498, Rarity.UNCOMMON, mage.cards.l.LeoninSkyhunter.class));
cards.add(new SetCardInfo("Leonin Vanguard", 499, Rarity.UNCOMMON, mage.cards.l.LeoninVanguard.class));
cards.add(new SetCardInfo("Leyline Axe", 129, Rarity.RARE, mage.cards.l.LeylineAxe.class));