[40K] Implemented Lokhust Heavy Destroyer

This commit is contained in:
Evan Kranzler 2022-09-16 08:39:40 -04:00
parent 09788dc6ec
commit aa4a86f940
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.l;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.SacrificeAllEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.UnearthAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class LokhustHeavyDestroyer extends CardImpl {
public LokhustHeavyDestroyer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}{B}{B}{B}");
this.subtype.add(SubType.NECRON);
this.power = new MageInt(3);
this.toughness = new MageInt(2);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Enmitic Exterminator -- When Lokhust Heavy Destroyer enters the battlefield, each plater sacrifices a creature.
this.addAbility(new EntersBattlefieldTriggeredAbility(new SacrificeAllEffect(
1, StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT
)).withFlavorWord("Enmitic Exterminator"));
// Unearth {5}{B}{B}{B}
this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{5}{B}{B}{B}")));
}
private LokhustHeavyDestroyer(final LokhustHeavyDestroyer card) {
super(card);
}
@Override
public LokhustHeavyDestroyer copy() {
return new LokhustHeavyDestroyer(this);
}
}

View file

@ -94,6 +94,7 @@ public final class Warhammer40000 extends ExpansionSet {
cards.add(new SetCardInfo("Let the Galaxy Burn", 81, Rarity.RARE, mage.cards.l.LetTheGalaxyBurn.class));
cards.add(new SetCardInfo("Lictor", 94, Rarity.RARE, mage.cards.l.Lictor.class));
cards.add(new SetCardInfo("Living Death", 202, Rarity.RARE, mage.cards.l.LivingDeath.class));
cards.add(new SetCardInfo("Lokhust Heavy Destroyer", 38, Rarity.RARE, mage.cards.l.LokhustHeavyDestroyer.class));
cards.add(new SetCardInfo("Lord of Change", 24, Rarity.RARE, mage.cards.l.LordOfChange.class));
cards.add(new SetCardInfo("Mind Stone", 245, Rarity.UNCOMMON, mage.cards.m.MindStone.class));
cards.add(new SetCardInfo("Molten Slagheap", 284, Rarity.UNCOMMON, mage.cards.m.MoltenSlagheap.class));