[EOE] Implement Lithobraking

This commit is contained in:
theelk801 2025-07-16 13:55:03 -04:00
parent 7b7d31f29c
commit 966a344f25
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.l;
import mage.abilities.common.delayed.ReflexiveTriggeredAbility;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.DamageAllEffect;
import mage.abilities.effects.common.DoWhenCostPaid;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.LanderToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class Lithobraking extends CardImpl {
public Lithobraking(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
// Create a Lander token. Then you may sacrifice an artifact. When you do, Lithobraking deals 2 damage to each creature.
this.getSpellAbility().addEffect(new CreateTokenEffect(new LanderToken()));
this.getSpellAbility().addEffect(new DoWhenCostPaid(
new ReflexiveTriggeredAbility(
new DamageAllEffect(2, StaticFilters.FILTER_PERMANENT_CREATURE), false
), new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_ARTIFACT),
"Sacrifice an artifact?"
));
}
private Lithobraking(final Lithobraking card) {
super(card);
}
@Override
public Lithobraking copy() {
return new Lithobraking(this);
}
}

View file

@ -148,6 +148,7 @@ public final class EdgeOfEternities extends ExpansionSet {
cards.add(new SetCardInfo("Kavaron, Memorial World", 281, Rarity.MYTHIC, mage.cards.k.KavaronMemorialWorld.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Kavaron, Memorial World", 376, Rarity.MYTHIC, mage.cards.k.KavaronMemorialWorld.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Lightless Evangel", 109, Rarity.UNCOMMON, mage.cards.l.LightlessEvangel.class));
cards.add(new SetCardInfo("Lithobraking", 142, Rarity.UNCOMMON, mage.cards.l.Lithobraking.class));
cards.add(new SetCardInfo("Loading Zone", 196, Rarity.RARE, mage.cards.l.LoadingZone.class));
cards.add(new SetCardInfo("Lumen-Class Frigate", 25, Rarity.RARE, mage.cards.l.LumenClassFrigate.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Lumen-Class Frigate", 321, Rarity.RARE, mage.cards.l.LumenClassFrigate.class, NON_FULL_USE_VARIOUS));

View file

@ -59194,6 +59194,7 @@ Galvanizing Sawship|Edge of Eternities|136|U|{5}{R}|Artifact - Spacecraft|||Stat
Invasive Maneuvers|Edge of Eternities|137|U|{1}{R}|Instant|||Invasive Maneuvers deals 3 damage to target creature. It deals 5 damage instead if you control a Spacecraft.|
Kav Landseeker|Edge of Eternities|138|C|{3}{R}|Creature - Kavu Soldier|4|3|Menace$When this creature enters, create a Lander token. At the beginning of the end step on your next turn, sacrifice that token.|
Kavaron Harrier|Edge of Eternities|139|U|{R}|Artifact Creature - Robot Soldier|2|1|Whenever this creature attacks, you may pay {2}. If you do, create a 2/2 colorless Robot artifact creature token that's tapped and attacking. Sacrifice that token at end of combat.|
Lithobraking|Edge of Eternities|142|U|{2}{R}|Instant|||Create a Lander token. Then you may sacrifice an artifact. When you do, Lithobraking deals 2 damage to each creature.|
Melded Moxite|Edge of Eternities|143|C|{1}{R}|Artifact|||When this artifact enters, you may discard a card. If you do, draw two cards.${3}, Sacrifice this artifact: Create a tapped 2/2 colorless Robot artifact creature token.|
Memorial Team Leader|Edge of Eternities|144|U|{3}{R}|Creature - Kavu Soldier|4|3|During your turn, other creatures you control get +1/+0.$Warp {1}{R}|
Nova Hellkite|Edge of Eternities|148|R|{3}{R}{R}|Creature - Dragon|4|5|Flying, haste$When this creature enters, it deals 1 damage to target creature an opponent controls.$Warp {2}{R}|