forked from External/mage
[DFT] Implement Skycrash
This commit is contained in:
parent
05a52c5fa0
commit
362883eedc
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/s/Skycrash.java
Normal file
37
Mage.Sets/src/mage/cards/s/Skycrash.java
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.keyword.CyclingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetArtifactPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Skycrash extends CardImpl {
|
||||
|
||||
public Skycrash(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
|
||||
// Destroy target artifact.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetArtifactPermanent());
|
||||
|
||||
// Cycling {R}
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl<>("{R}")));
|
||||
}
|
||||
|
||||
private Skycrash(final Skycrash card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Skycrash copy() {
|
||||
return new Skycrash(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -149,6 +149,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Shefet Archfiend", 104, Rarity.UNCOMMON, mage.cards.s.ShefetArchfiend.class));
|
||||
cards.add(new SetCardInfo("Silken Strength", 180, Rarity.COMMON, mage.cards.s.SilkenStrength.class));
|
||||
cards.add(new SetCardInfo("Skybox Ferry", 243, Rarity.COMMON, mage.cards.s.SkyboxFerry.class));
|
||||
cards.add(new SetCardInfo("Skycrash", 146, Rarity.UNCOMMON, mage.cards.s.Skycrash.class));
|
||||
cards.add(new SetCardInfo("Spell Pierce", 64, Rarity.UNCOMMON, mage.cards.s.SpellPierce.class));
|
||||
cards.add(new SetCardInfo("Spotcycle Scouter", 30, Rarity.COMMON, mage.cards.s.SpotcycleScouter.class));
|
||||
cards.add(new SetCardInfo("Starting Column", 244, Rarity.COMMON, mage.cards.s.StartingColumn.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue