Codota Logo
Hackrobat
Code IndexAdd Codota to your IDE (free)

How to use
Hackrobat
in
mage.cards.h

Best Java code snippets using mage.cards.h.Hackrobat (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: magefree/mage

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

public Hackrobat(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.ROGUE);
  this.power = new MageInt(2);
  this.toughness = new MageInt(3);
  // Spectacle {B}{R}
  this.addAbility(new SpectacleAbility(this, new ManaCostsImpl("{B}{R}")));
  // {B}: Hackrobat gains deathtouch until end of turn.
  this.addAbility(new SimpleActivatedAbility(
      Zone.BATTLEFIELD,
      new GainAbilitySourceEffect(
          DeathtouchAbility.getInstance(),
          Duration.EndOfTurn
      ), new ColoredManaCost(ColoredManaSymbol.B)
  ));
  // {R}: Hackrobat gets +2/-2 until end of turn.
  this.addAbility(new SimpleActivatedAbility(
      Zone.BATTLEFIELD,
      new BoostSourceEffect(2, -2, Duration.EndOfTurn),
      new ColoredManaCost(ColoredManaSymbol.R)
  ));
}
mage.cards.hHackrobat

Most used methods

  • <init>
  • addAbility

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • setContentView (Activity)
  • Kernel (java.awt.image)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • JTable (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
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