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

How to use
HaakonStromgaldScourgePlayEffect2
in
mage.cards.h

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: magefree/mage

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

public HaakonStromgaldScourge(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}{B}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.ZOMBIE);
  this.subtype.add(SubType.KNIGHT);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // You may cast Haakon, Stromgald Scourge from your graveyard, but not from anywhere else.
  Ability ability = new SimpleStaticAbility(Zone.ALL, new HaakonStromgaldScourgePlayEffect());
  ability.addEffect(new HaakonStromgaldScourgePlayEffect2());
  this.addAbility(ability);
  // As long as Haakon is on the battlefield, you may play Knight cards from your graveyard.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new HaakonPlayKnightsFromGraveyardEffect()));
  // When Haakon dies, you lose 2 life.
  this.addAbility(new DiesTriggeredAbility(new LoseLifeSourceControllerEffect(2)));
}
mage.cards.hHaakonStromgaldScourgePlayEffect2

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • findViewById (Activity)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Reference (javax.naming)
  • Join (org.hibernate.mapping)
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