mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[DFT] Implement Wretched Doll
This commit is contained in:
parent
76600476ce
commit
aa767f68ce
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/w/WretchedDoll.java
Normal file
42
Mage.Sets/src/mage/cards/w/WretchedDoll.java
Normal 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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue