- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {FileOutputStream f =
File file;new FileOutputStream(file)
String name;new FileOutputStream(name)
File file;new FileOutputStream(file, true)
- Smart code suggestions by Codota
}
@Override public HaakonStromgaldScourgePlayEffect2 copy() { return new HaakonStromgaldScourgePlayEffect2(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))); }