@Override public SimpleStaticAbility copy() { return new UndauntedAbility(this); }
public SublimeExhalation(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{W}"); // Undaunted (This spell costs {1} less to cast for each opponent.) this.addAbility(new UndauntedAbility()); // Destroy all creatures. getSpellAbility().addEffect(new DestroyAllEffect(FILTER_PERMANENT_CREATURES)); }
public CoastalBreach(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{U}"); // Undaunted this.addAbility(new UndauntedAbility()); // Return all nonland permanents to their owners' hands. this.getSpellAbility().addEffect(new ReturnToHandFromBattlefieldAllEffect(new FilterNonlandPermanent())); }
public DivergentTransformations(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{6}{R}"); // Undaunted this.addAbility(new UndauntedAbility()); // Exile two target creatures. For each of those creatures, its controller reveals cards from the top of their library until he or she reveals a creature card, puts that card onto the battlefield, then shuffles the rest into their library. this.getSpellAbility().addEffect(new DivergentTransformationsEffect()); this.getSpellAbility().addTarget(new TargetCreaturePermanent(2, 2, FILTER_PERMANENT_CREATURES, false)); }
public CurtainsCall(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{5}{B}"); // Undaunted this.addAbility(new UndauntedAbility()); // Destroy two target creatures. this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addTarget(new TargetCreaturePermanent(2, 2, FILTER_PERMANENT_CREATURES, false)); }
public SeedsOfRenewal(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{G}"); // Undaunted this.addAbility(new UndauntedAbility()); // Return up to two target cards from your graveyard to your hand. Exile Seeds of Renewal. Effect effect = new ReturnFromGraveyardToHandTargetEffect(); effect.setText("Return up to two target cards from your graveyard to your hand"); this.getSpellAbility().addEffect(effect); this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 2, StaticFilters.FILTER_CARD_FROM_YOUR_GRAVEYARD)); this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }