this.toughness = new MageInt(2);
// Islandwalk
this.addAbility(new IslandwalkAbility());
// {1}{W}: Target Merfolk you control gains protection from the color of your choice until end of turn.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainProtectionFromColorTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{1}{W}"));
Target target = new TargetControlledCreaturePermanent(1,1,filter, false);
ability.addTarget(target);
this.addAbility(ability);
}