Ability ability = new EnchantAbility(auraTarget.getTargetName());
this.addAbility(ability);
// Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Erebos.
ability = new AttacksAttachedTriggeredAbility(new AddCountersAttachedEffect(CounterType.P1P1.createInstance(),"it"), AttachmentType.AURA, false);
ability.addEffect(new ConditionalOneShotEffect(new SacrificeSourceEffect(), new AttachedToCounterCondition(CounterType.P1P1, 3),
"Then if it has three or more +1/+1 counters on it, sacrifice {this}"));
this.addAbility(ability);
// When you sacrifice Ordeal of Erebos, target player discards two cards.
ability = new SacrificeSourceTriggeredAbility(new DiscardTargetEffect(2), false);
ability.addTarget(new TargetPlayer());