Tabnine Logo
UndauntedAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
UndauntedAbility
in
mage.abilities.keyword

Best Java code snippets using mage.abilities.keyword.UndauntedAbility (Showing top 7 results out of 315)

origin: magefree/mage

@Override
public SimpleStaticAbility copy() {
  return new UndauntedAbility(this);
}
origin: magefree/mage

public UndauntedAbility() {
  super(Zone.ALL, new SpellCostReductionSourceForOpponentsEffect("undaunted <i>(This spell costs {1} less to cast for each opponent.)</i>"));
  setRuleAtTheTop(true);
}
origin: magefree/mage

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));
}
origin: magefree/mage

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()));
}
origin: magefree/mage

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));
}
origin: magefree/mage

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));
}
origin: magefree/mage

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());
}
mage.abilities.keywordUndauntedAbility

Most used methods

  • <init>
  • setRuleAtTheTop

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • putExtra (Intent)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Collectors (java.util.stream)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now