Codota Logo
SurveilEffect.setText
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
  • requestLocationUpdates (LocationManager)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • JTextField (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now