Tabnine Logo
SurveilEffect.setText
Code IndexAdd Tabnine to your IDE (free)

How to use
setText
method
in
mage.abilities.effects.keyword.SurveilEffect

Best Java code snippets using mage.abilities.effects.keyword.SurveilEffect.setText (Showing top 3 results out of 315)

origin: magefree/mage

public SurveilEffect(int scryNumber) {
  super(Outcome.Benefit);
  this.surveilNumber = scryNumber;
  this.setText();
}
origin: magefree/mage

public NotionRain(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}{B}");
  // Surveil 2, then draw two cards. Rain of Notions deals 2 damage to you.
  this.getSpellAbility().addEffect(
      new SurveilEffect(2).setText("Surveil 2")
  );
  this.getSpellAbility().addEffect(
      new DrawCardSourceControllerEffect(2)
          .setText(", then draw two cards")
  );
  this.getSpellAbility().addEffect(new DamageControllerEffect(2));
}
origin: magefree/mage

public DiscoveryDispersal(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, new CardType[]{CardType.INSTANT}, "{1}{U/B}", "{3}{U}{B}", SpellAbilityType.SPLIT);
  // Discovery
  // Surveil 2, then draw a card.
  this.getLeftHalfCard().getSpellAbility().addEffect(
      new SurveilEffect(2).setText("Surveil 2,")
  );
  this.getLeftHalfCard().getSpellAbility().addEffect(
      new DrawCardSourceControllerEffect(1
      ).setText("then draw a card. <i>(To surveil 2, "
          + "look at the top two cards of your library, "
          + "then put any number of them into your graveyard "
          + "and the rest on top of your library "
          + "in any order.)</i>")
  );
  // Dispersal
  // Each opponent returns a nonland permanent they control with the highest converted mana cost among permanents they control to its owner’s hand, then discards a card.
  this.getRightHalfCard().getSpellAbility().addEffect(new DispersalEffect());
}
mage.abilities.effects.keywordSurveilEffectsetText

Popular methods of SurveilEffect

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Collectors (java.util.stream)
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
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