this.addAbility(TrampleAbility.getInstance());
// Other Centaur creatures you control get +1/+1 and have vigilance and trample.
Effect effect = new BoostControlledEffect(1,1,Duration.WhileOnBattlefield, filter, true);
effect.setText("Other Centaur creatures you control get +1/+1");
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
effect = new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.WhileOnBattlefield, filter, true);
effect.setText("and have vigilance");
ability.addEffect(effect);
effect = new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, filter, true);
effect.setText("and trample");
ability.addEffect(effect);
this.addAbility(ability);
}