// Target creature gets +3/-3 and loses all creature types until end of turn.
Effect effect = new BoostTargetEffect(3, -3, Duration.EndOfTurn);
effect.setText("Target creature gets +3/-3");
this.getSpellAbility().addEffect(effect);
effect = new LoseAllCreatureTypesTargetEffect(Duration.EndOfTurn);
effect.setText("and loses all creature types until end of turn");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}