[EOE] Implement Swarm Culler

This commit is contained in:
theelk801 2025-07-18 14:47:26 -04:00
parent 636eb83568
commit c5361022ab
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.BecomesTappedSourceTriggeredAbility;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.common.DoIfCostPaid;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.keyword.FlyingAbility;
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 SwarmCuller extends CardImpl {
public SwarmCuller(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
this.subtype.add(SubType.INSECT);
this.subtype.add(SubType.WARRIOR);
this.power = new MageInt(2);
this.toughness = new MageInt(4);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Whenever this creature becomes tapped, you may sacrifice another creature or artifact. If you do, draw a card.
this.addAbility(new BecomesTappedSourceTriggeredAbility(new DoIfCostPaid(
new DrawCardSourceControllerEffect(1),
new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE_OR_ARTIFACT)
)));
}
private SwarmCuller(final SwarmCuller card) {
super(card);
}
@Override
public SwarmCuller copy() {
return new SwarmCuller(this);
}
}

View file

@ -335,6 +335,7 @@ public final class EdgeOfEternities extends ExpansionSet {
cards.add(new SetCardInfo("Swamp", 271, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Swamp", 271, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Swamp", 369, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Swamp", 369, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Swarm Culler", 119, Rarity.COMMON, mage.cards.s.SwarmCuller.class));
cards.add(new SetCardInfo("Synthesizer Labship", 329, Rarity.RARE, mage.cards.s.SynthesizerLabship.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Synthesizer Labship", 329, Rarity.RARE, mage.cards.s.SynthesizerLabship.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Synthesizer Labship", 81, Rarity.RARE, mage.cards.s.SynthesizerLabship.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Synthesizer Labship", 81, Rarity.RARE, mage.cards.s.SynthesizerLabship.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Syr Vondam, Sunstar Exemplar", 231, Rarity.RARE, mage.cards.s.SyrVondamSunstarExemplar.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Syr Vondam, Sunstar Exemplar", 231, Rarity.RARE, mage.cards.s.SyrVondamSunstarExemplar.class, NON_FULL_USE_VARIOUS));