forked from External/mage
[DFT] Implement Moment to Endurance
This commit is contained in:
parent
c220a2751e
commit
aa68bd8e06
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/m/MonumentToEndurance.java
Normal file
47
Mage.Sets/src/mage/cards/m/MonumentToEndurance.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DiscardCardControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MonumentToEndurance extends CardImpl {
|
||||
|
||||
public MonumentToEndurance(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||
|
||||
// Whenever you discard a card, choose one that hasn't been chosen this turn--
|
||||
// * Draw a card.
|
||||
Ability ability = new DiscardCardControllerTriggeredAbility(
|
||||
new DrawCardSourceControllerEffect(1), false
|
||||
);
|
||||
ability.getModes().setLimitUsageByOnce(true);
|
||||
|
||||
// * Create a Treasure token.
|
||||
ability.addMode(new Mode(new CreateTokenEffect(new TreasureToken())));
|
||||
|
||||
// * Each opponent loses 3 life.
|
||||
ability.addMode(new Mode(new LoseLifeOpponentsEffect(3)));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private MonumentToEndurance(final MonumentToEndurance card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MonumentToEndurance copy() {
|
||||
return new MonumentToEndurance(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -98,6 +98,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Midnight Mangler", 50, Rarity.COMMON, mage.cards.m.MidnightMangler.class));
|
||||
cards.add(new SetCardInfo("Mindspring Merfolk", 51, Rarity.RARE, mage.cards.m.MindspringMerfolk.class));
|
||||
cards.add(new SetCardInfo("Molt Tender", 171, Rarity.UNCOMMON, mage.cards.m.MoltTender.class));
|
||||
cards.add(new SetCardInfo("Monument to Endurance", 237, Rarity.RARE, mage.cards.m.MonumentToEndurance.class));
|
||||
cards.add(new SetCardInfo("Mountain", 286, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Muraganda Raceway", 257, Rarity.RARE, mage.cards.m.MuragandaRaceway.class));
|
||||
cards.add(new SetCardInfo("Nesting Bot", 22, Rarity.UNCOMMON, mage.cards.n.NestingBot.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue