- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
@Override public HaakonStromgaldScourge copy() { return new HaakonStromgaldScourge(this); }
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))); }