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

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • JOptionPane (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • 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