[DFT] Implement Pactdoll Terror

This commit is contained in:
theelk801 2025-02-02 19:05:30 -05:00
parent b56f071414
commit 737a31b64b
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.p;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldThisOrAnotherTriggeredAbility;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
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 PactdollTerror extends CardImpl {
public PactdollTerror(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}{B}");
this.subtype.add(SubType.TOY);
this.power = new MageInt(3);
this.toughness = new MageInt(4);
// Whenever this creature or another artifact you control enters, each opponent loses 1 life and you gain 1 life.
Ability ability = new EntersBattlefieldThisOrAnotherTriggeredAbility(
new LoseLifeOpponentsEffect(1),
StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT,
true, false
);
ability.addEffect(new GainLifeEffect(1).concatBy("and"));
this.addAbility(ability);
}
private PactdollTerror(final PactdollTerror card) {
super(card);
}
@Override
public PactdollTerror copy() {
return new PactdollTerror(this);
}
}

View file

@ -144,6 +144,7 @@ public final class Aetherdrift extends ExpansionSet {
cards.add(new SetCardInfo("Outpace Oblivion", 139, Rarity.UNCOMMON, mage.cards.o.OutpaceOblivion.class));
cards.add(new SetCardInfo("Oviya, Automech Artisan", 173, Rarity.RARE, mage.cards.o.OviyaAutomechArtisan.class));
cards.add(new SetCardInfo("Pacesetter Paragon", 140, Rarity.UNCOMMON, mage.cards.p.PacesetterParagon.class));
cards.add(new SetCardInfo("Pactdoll Terror", 99, Rarity.COMMON, mage.cards.p.PactdollTerror.class));
cards.add(new SetCardInfo("Pedal to the Metal", 141, Rarity.COMMON, mage.cards.p.PedalToTheMetal.class));
cards.add(new SetCardInfo("Perilous Snare", 23, Rarity.RARE, mage.cards.p.PerilousSnare.class));
cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));