public NostalgicDreams(UUID ownerId) { super( ownerId, 135, "Nostalgic Dreams", Rarity.RARE, new CardType[] {CardType.SORCERY}, "{G}{G}"); this.expansionSetCode = "TOR"; // As an additional cost to cast Nostalgic Dreams, discard X cards. this.getSpellAbility().addCost(new DiscardXTargetCost(new FilterCard("cards"), true)); // Return X target cards from your graveyard to your hand. Exile Nostalgic Dreams. Effect effect = new ReturnFromGraveyardToHandTargetEffect(); effect.setText("Return X target cards from your graveyard to your hand"); this.getSpellAbility().addEffect(effect); this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public PullFromTheDeep(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[] {CardType.SORCERY}, "{2}{U}{U}"); // Return up to one target instant card and up to one target sorcery card from your graveyard to // your hand. Exile Pull from the Deep. Effect effect = new ReturnToHandTargetEffect(); effect.setText("Return up to one target instant card"); this.getSpellAbility().addEffect(effect); this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 1, filterInstant)); effect = new ReturnToHandTargetEffect(); effect.setText("and up to one target sorcery card from your graveyard to your hand"); effect.setTargetPointer(new SecondTargetPointer()); this.getSpellAbility().addEffect(effect); this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 1, filterSorcery)); this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }