[DFT] Implement Wretched Doll

This commit is contained in:
theelk801 2025-01-30 11:45:43 -05:00
parent 76600476ce
commit aa767f68ce
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.w;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.keyword.SurveilEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class WretchedDoll extends CardImpl {
public WretchedDoll(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}{B}");
this.subtype.add(SubType.TOY);
this.power = new MageInt(3);
this.toughness = new MageInt(1);
// {B}, {T}: Surveil 1.
Ability ability = new SimpleActivatedAbility(new SurveilEffect(1), new ManaCostsImpl<>("{B}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}
private WretchedDoll(final WretchedDoll card) {
super(card);
}
@Override
public WretchedDoll copy() {
return new WretchedDoll(this);
}
}

View file

@ -147,6 +147,7 @@ public final class Aetherdrift extends ExpansionSet {
cards.add(new SetCardInfo("Willowrush Verge", 270, Rarity.RARE, mage.cards.w.WillowrushVerge.class));
cards.add(new SetCardInfo("Wind-Scarred Crag", 271, Rarity.COMMON, mage.cards.w.WindScarredCrag.class));
cards.add(new SetCardInfo("Wreck Remover", 247, Rarity.COMMON, mage.cards.w.WreckRemover.class));
cards.add(new SetCardInfo("Wretched Doll", 111, Rarity.UNCOMMON, mage.cards.w.WretchedDoll.class));
cards.removeIf(setCardInfo -> unfinished.contains(setCardInfo.getName()));
}