// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
// {W}: Enchanted creature gets +1/+1 until end of turn.
Ability ability = new EnchantAbility(auraTarget.getTargetName());
this.addAbility(ability);
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
new BoostEnchantedEffect(1, 1, Duration.EndOfTurn),
new ColoredManaCost(ColoredManaSymbol.W)));
}