[WOE] Implement Ashiok's Reaper

This commit is contained in:
theelk801 2023-08-17 23:09:50 -04:00
parent 9b3a530a14
commit 52d4807199
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.common.PutIntoGraveFromBattlefieldAllTriggeredAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
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 AshioksReaper extends CardImpl {
public AshioksReaper(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
this.subtype.add(SubType.NIGHTMARE);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Whenever an enchantment you control is put into a graveyard from the battlefield, draw a card.
this.addAbility(new PutIntoGraveFromBattlefieldAllTriggeredAbility(
new DrawCardSourceControllerEffect(1), false,
StaticFilters.FILTER_CONTROLLED_PERMANENT_ENCHANTMENT, false
));
}
private AshioksReaper(final AshioksReaper card) {
super(card);
}
@Override
public AshioksReaper copy() {
return new AshioksReaper(this);
}
}

View file

@ -21,6 +21,7 @@ public final class WildsOfEldraine extends ExpansionSet {
this.hasBoosters = false; // temporary
cards.add(new SetCardInfo("Ash, Party Crasher", 201, Rarity.UNCOMMON, mage.cards.a.AshPartyCrasher.class));
cards.add(new SetCardInfo("Ashiok's Reaper", 79, Rarity.UNCOMMON, mage.cards.a.AshioksReaper.class));
cards.add(new SetCardInfo("Beanstalk Wurm", 161, Rarity.COMMON, mage.cards.b.BeanstalkWurm.class));
cards.add(new SetCardInfo("Besotted Knight", 4, Rarity.COMMON, mage.cards.b.BesottedKnight.class));
cards.add(new SetCardInfo("Break the Spell", 5, Rarity.COMMON, mage.cards.b.BreakTheSpell.class));