[Y22] Implemented Cursebound Witch

This commit is contained in:
Evan Kranzler 2022-03-01 17:47:59 -05:00
parent f4b95d8e2c
commit fcb918f811
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,59 @@
package mage.cards.c;
import mage.MageInt;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.effects.common.DraftFromSpellbookEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class CurseboundWitch extends CardImpl {
private static final List<String> spellbook = Collections.unmodifiableList(Arrays.asList(
"Black Cat",
"Bloodhunter Bat",
"Cauldron Familiar",
"Cruel Reality",
"Curse of Leeches",
"Expanded Anatomy",
"Sorcerer's Broom",
"Torment of Scarabs",
"Trespasser's Curse",
"Unwilling Ingredient",
"Witch's Cauldron",
"Witch's Cottage",
"Witch's Familiar",
"Witch's Oven",
"Witch's Vengeance"
));
public CurseboundWitch(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{B}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.WARLOCK);
this.power = new MageInt(1);
this.toughness = new MageInt(2);
// When Cursebound Witch dies, draft a card from Cursebound Witch's spellbook.
this.addAbility(new DiesSourceTriggeredAbility(new DraftFromSpellbookEffect(spellbook)));
}
private CurseboundWitch(final CurseboundWitch card) {
super(card);
}
@Override
public CurseboundWitch copy() {
return new CurseboundWitch(this);
}
}

View file

@ -20,6 +20,7 @@ public final class AlchemyInnistrad extends ExpansionSet {
this.blockName = "Alchemy";
this.hasBoosters = false;
cards.add(new SetCardInfo("Cursebound Witch", 24, Rarity.UNCOMMON, mage.cards.c.CurseboundWitch.class));
cards.add(new SetCardInfo("Faithful Disciple", 7, Rarity.UNCOMMON, mage.cards.f.FaithfulDisciple.class));
}
}