mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
[STX] Implemented Rip Apart
This commit is contained in:
parent
07871637b6
commit
b414ac828f
3 changed files with 44 additions and 0 deletions
42
Mage.Sets/src/mage/cards/r/RipApart.java
Normal file
42
Mage.Sets/src/mage/cards/r/RipApart.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RipApart extends CardImpl {
|
||||
|
||||
public RipApart(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}{W}");
|
||||
|
||||
// Choose one —
|
||||
// • Rip Apart deals 3 damage to target creature or planeswalker.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
|
||||
// • Destroy target artifact or enchantment.
|
||||
Mode mode = new Mode(new DestroyTargetEffect());
|
||||
mode.addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_ENCHANTMENT));
|
||||
this.getSpellAbility().addMode(mode);
|
||||
}
|
||||
|
||||
private RipApart(final RipApart card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RipApart copy() {
|
||||
return new RipApart(this);
|
||||
}
|
||||
}
|
|
@ -63,6 +63,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Professor of Symbology", 24, Rarity.UNCOMMON, mage.cards.p.ProfessorOfSymbology.class));
|
||||
cards.add(new SetCardInfo("Quandrix Apprentice", 216, Rarity.UNCOMMON, mage.cards.q.QuandrixApprentice.class));
|
||||
cards.add(new SetCardInfo("Quandrix Command", 217, Rarity.RARE, mage.cards.q.QuandrixCommand.class));
|
||||
cards.add(new SetCardInfo("Rip Apart", 318, Rarity.UNCOMMON, mage.cards.r.RipApart.class));
|
||||
cards.add(new SetCardInfo("Rise of Extus", 226, Rarity.COMMON, mage.cards.r.RiseOfExtus.class));
|
||||
cards.add(new SetCardInfo("Shineshadow Snarl", 272, Rarity.RARE, mage.cards.s.ShineshadowSnarl.class));
|
||||
cards.add(new SetCardInfo("Silverquill Apprentice", 231, Rarity.UNCOMMON, mage.cards.s.SilverquillApprentice.class));
|
||||
|
|
|
@ -40632,6 +40632,7 @@ Furycalm Snarl|Strixhaven: School of Mages|266|R||Land|||As Furycalm Snarl enter
|
|||
Necroblossom Snarl|Strixhaven: School of Mages|269|R||Land|||As Necroblossom Snarl enters the battlefield, you may reveal a Swamp or Forest card from your hand. If you don't, Necroblossom Snarl enters the battlefield tapped.${T}: Add {B} or {G}.|
|
||||
Shineshadow Snarl|Strixhaven: School of Mages|272|R||Land|||As Shineshadow Snarl enters the battlefield, you may reveal a Plains or Swamp card from your hand. If you don't, Shineshadow Snarl enters the battlefield tapped.${T}: Add {W} or {B}.|
|
||||
Vineglimmer Snarl|Strixhaven: School of Mages|274|R||Land|||As Vineglimmer Snarl enters the battlefield, you may reveal a Forest or Island card from your hand. If you don't, Vineglimmer Snarl enters the battlefield tapped.${T}: Add {G} or {U}.|
|
||||
Rip Apart|Strixhaven: School of Mages|318|U|{R}{W}|Sorcery|||Choose one —$• Rip Apart deals 3 damage to target creature or planeswalker.$• Destroy target artifact or enchantment.|
|
||||
Plains|Strixhaven: School of Mages|366|C||Basic Land - Plains|||({T}: Add {W}.)|
|
||||
Island|Strixhaven: School of Mages|368|C||Basic Land - Island|||({T}: Add {U}.)|
|
||||
Swamp|Strixhaven: School of Mages|370|C||Basic Land - Swamp|||({T}: Add {B}.)|
|
||||
|
|
Loading…
Reference in a new issue