congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PutTopCardOfLibraryIntoGraveEachPlayerEffect.setText
Code IndexAdd Tabnine to your IDE (free)

How to use
setText
method
in
mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveEachPlayerEffect

Best Java code snippets using mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveEachPlayerEffect.setText (Showing top 2 results out of 315)

origin: magefree/mage

public PutTopCardOfLibraryIntoGraveEachPlayerEffect(DynamicValue numberCards, TargetController targetController) {
  super(Outcome.Discard);
  this.numberCards = numberCards;
  this.targetController = targetController;
  this.staticText = setText();
}
origin: magefree/mage

public ViciousRumors(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{B}");
  // Vicious Rumors deals 1 damage to each opponent. Each opponent discards a card, then puts the top card of their library into their graveyard. You gain 1 life.
  this.getSpellAbility().addEffect(
      new DamagePlayersEffect(1, TargetController.OPPONENT)
  );
  this.getSpellAbility().addEffect(new DiscardEachPlayerEffect(
      new StaticValue(1), false,
      TargetController.OPPONENT
  ));
  this.getSpellAbility().addEffect(
      new PutTopCardOfLibraryIntoGraveEachPlayerEffect(
          1, TargetController.OPPONENT
      ).setText(", then puts the top card of their library "
          + "into their graveyard")
  );
  this.getSpellAbility().addEffect(new GainLifeEffect(1));
}
mage.abilities.effects.commonPutTopCardOfLibraryIntoGraveEachPlayerEffectsetText

Popular methods of PutTopCardOfLibraryIntoGraveEachPlayerEffect

  • <init>
  • putCardsToGravecard

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Permission (java.security)
    Legacy security code; do not use.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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