this.color.setBlack(true);
this.power = new MageInt(0);
this.toughness = new MageInt(0);
// Korlash, Heir to Blackblade's power and toughness are each equal to the number of Swamps you control.
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filterPermanent), Duration.EndOfGame)));
// {1}{B}: Regenerate Korlash.
Effect effect = new RegenerateSourceEffect();
effect.setText("Regenerate Korlash.");
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{1}{B}")));