mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[MID] Implemented Cathartic Pyre
This commit is contained in:
parent
11238333b5
commit
b7ddb58923
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/c/CatharticPyre.java
Normal file
38
Mage.Sets/src/mage/cards/c/CatharticPyre.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardAndDrawThatManyEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CatharticPyre extends CardImpl {
|
||||
|
||||
public CatharticPyre(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
|
||||
// Choose one —
|
||||
// • Cathartic Pyre deals 3 damage to target creature or planeswalker.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
|
||||
// • Discard up to two cards, then draw that many cards.
|
||||
this.getSpellAbility().addMode(new Mode(new DiscardAndDrawThatManyEffect(2)));
|
||||
}
|
||||
|
||||
private CatharticPyre(final CatharticPyre card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CatharticPyre copy() {
|
||||
return new CatharticPyre(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -48,6 +48,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Candlegrove Witch", 8, Rarity.COMMON, mage.cards.c.CandlegroveWitch.class));
|
||||
cards.add(new SetCardInfo("Candlelit Cavalry", 175, Rarity.COMMON, mage.cards.c.CandlelitCavalry.class));
|
||||
cards.add(new SetCardInfo("Candletrap", 9, Rarity.COMMON, mage.cards.c.Candletrap.class));
|
||||
cards.add(new SetCardInfo("Cathartic Pyre", 133, Rarity.UNCOMMON, mage.cards.c.CatharticPyre.class));
|
||||
cards.add(new SetCardInfo("Celestus Sanctifier", 12, Rarity.COMMON, mage.cards.c.CelestusSanctifier.class));
|
||||
cards.add(new SetCardInfo("Champion of the Perished", 91, Rarity.RARE, mage.cards.c.ChampionOfThePerished.class));
|
||||
cards.add(new SetCardInfo("Clear Shot", 176, Rarity.UNCOMMON, mage.cards.c.ClearShot.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue