Tabnine Logo
UndauntedAbility.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mage.abilities.keyword.UndauntedAbility
constructor

Best Java code snippets using mage.abilities.keyword.UndauntedAbility.<init> (Showing top 6 results out of 315)

origin: magefree/mage

@Override
public SimpleStaticAbility copy() {
  return new UndauntedAbility(this);
}
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<init>

Popular methods of UndauntedAbility

  • setRuleAtTheTop

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Reference (javax.naming)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Option (scala)
  • From CI to AI: The AI layer in your organization
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