mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[STX] Implemented Daemogoth Woe-Eater
This commit is contained in:
parent
2476b4deb8
commit
b296256f4f
2 changed files with 55 additions and 0 deletions
54
Mage.Sets/src/mage/cards/d/DaemogothWoeEater.java
Normal file
54
Mage.Sets/src/mage/cards/d/DaemogothWoeEater.java
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
|
||||
import mage.abilities.common.SacrificeSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.SacrificeControllerEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardEachPlayerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DaemogothWoeEater extends CardImpl {
|
||||
|
||||
public DaemogothWoeEater(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}{B/G}{G}");
|
||||
|
||||
this.subtype.add(SubType.DEMON);
|
||||
this.power = new MageInt(7);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// At the beginning of your upkeep, sacrifice a creature.
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new SacrificeControllerEffect(
|
||||
StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT, 1, ""
|
||||
), TargetController.YOU, false));
|
||||
|
||||
// When you sacrifice Daemogoth Woe-Eater, each opponent discards a card, you draw a card, and you gain 2 life.
|
||||
Ability ability = new SacrificeSourceTriggeredAbility(
|
||||
new DiscardEachPlayerEffect(TargetController.OPPONENT), false
|
||||
);
|
||||
ability.addEffect(new DrawCardSourceControllerEffect(1).concatBy(", you"));
|
||||
ability.addEffect(new GainLifeEffect(2).concatBy(", and"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private DaemogothWoeEater(final DaemogothWoeEater card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DaemogothWoeEater copy() {
|
||||
return new DaemogothWoeEater(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -72,6 +72,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Culmination of Studies", 173, Rarity.RARE, mage.cards.c.CulminationOfStudies.class));
|
||||
cards.add(new SetCardInfo("Curate", 40, Rarity.COMMON, mage.cards.c.Curate.class));
|
||||
cards.add(new SetCardInfo("Daemogoth Titan", 174, Rarity.RARE, mage.cards.d.DaemogothTitan.class));
|
||||
cards.add(new SetCardInfo("Daemogoth Woe-Eater", 175, Rarity.UNCOMMON, mage.cards.d.DaemogothWoeEater.class));
|
||||
cards.add(new SetCardInfo("Decisive Denial", 177, Rarity.UNCOMMON, mage.cards.d.DecisiveDenial.class));
|
||||
cards.add(new SetCardInfo("Defend the Campus", 12, Rarity.COMMON, mage.cards.d.DefendTheCampus.class));
|
||||
cards.add(new SetCardInfo("Divide by Zero", 41, Rarity.UNCOMMON, mage.cards.d.DivideByZero.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue