[STX] Implemented Aether Helix

This commit is contained in:
Evan Kranzler 2021-03-31 22:17:03 -04:00
parent 4e20dfb63a
commit 211341f065
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
package mage.cards.a;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.target.TargetPermanent;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AetherHelix extends CardImpl {
public AetherHelix(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}{U}");
// Return target permanent to its owner's hand. Return target permanent card from your graveyard to your hand.
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect(true).setText("return target " +
"permanent to its owner's hand. Return target permanent card from your graveyard to your hand"));
this.getSpellAbility().addTarget(new TargetPermanent());
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD_PERMANENT));
}
private AetherHelix(final AetherHelix card) {
super(card);
}
@Override
public AetherHelix copy() {
return new AetherHelix(this);
}
}

View file

@ -32,6 +32,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
this.ratioBoosterMythic = 7.4;
this.maxCardNumberInBooster = 275;
cards.add(new SetCardInfo("Aether Helix", 162, Rarity.UNCOMMON, mage.cards.a.AetherHelix.class));
cards.add(new SetCardInfo("Ageless Guardian", 8, Rarity.COMMON, mage.cards.a.AgelessGuardian.class));
cards.add(new SetCardInfo("Archmage Emeritus", 37, Rarity.RARE, mage.cards.a.ArchmageEmeritus.class));
cards.add(new SetCardInfo("Archway Commons", 263, Rarity.COMMON, mage.cards.a.ArchwayCommons.class));