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

How to use
ReturnToLibrarySpellEffect
in
mage.abilities.effects.common

Best Java code snippets using mage.abilities.effects.common.ReturnToLibrarySpellEffect (Showing top 5 results out of 315)

origin: magefree/mage

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

public SanguineSacrament(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{W}{W}");
  // You gain twice X life. Put Sanguine Sacrament on the bottom of its owner's library.
  this.getSpellAbility().addEffect(new GainLifeEffect(SanguineSacramentValue.instance));
  this.getSpellAbility().addEffect(new ReturnToLibrarySpellEffect(false));
}
origin: magefree/mage

public SeasonsPast(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{G}{G}");
  // Return any number of cards with different converted mana costs from your graveyard to your hand. Put Seasons Past on the bottom of its owner's library.
  this.getSpellAbility().addEffect(new SeasonsPastEffect());
  this.getSpellAbility().addEffect(new ReturnToLibrarySpellEffect(false));
}
origin: magefree/mage

public SpellCrumple(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{U}{U}");
  // Counter target spell. If that spell is countered this way, put it on the bottom of its owner's library instead of into that player's graveyard. Put Spell Crumple on the bottom of its owner's library.
  this.getSpellAbility().addTarget(new TargetSpell());
  this.getSpellAbility().addEffect(new SpellCrumpleCounterEffect());
  this.getSpellAbility().addEffect(new ReturnToLibrarySpellEffect(false));
}
origin: magefree/mage

public EverAfter(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{4}{B}{B}");
  // Return up to two target creature cards from your graveyard to the battlefield. Each of those creatures is a black Zombie in addition
  // to its other colors and types. Put Ever After on the bottom of its owner's library.
  this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
  this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 2, new FilterCreatureCard("creature cards from your graveyard")));
  Effect effect = new BecomesBlackZombieAdditionEffect();
  effect.setText("Each of those creatures is a black Zombie in addition to its other colors and types");
  this.getSpellAbility().addEffect(effect);
  this.getSpellAbility().addEffect(new ReturnToLibrarySpellEffect(false));
}
mage.abilities.effects.commonReturnToLibrarySpellEffect

Most used methods

  • <init>

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • getContentResolver (Context)
  • setScale (BigDecimal)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JList (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 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