* Coveted Peacock - Fixed that the Goad ability did not trigger.

This commit is contained in:
LevelX2 2018-02-04 17:59:29 +01:00
parent b752eacfaa
commit 9333a54e11

View file

@ -61,9 +61,10 @@ public class CovetedPeacock extends CardImpl {
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
// Whenever Coveted Peacock attacks, you may goad target creature defending player controls. // Whenever Coveted Peacock attacks, you may goad target creature defending player controls.
Ability ability = new AttacksTriggeredAbility(new GoadTargetEffect(), true, "Whenever {this} attacks, you may goad target creature defending player controls"); Ability ability = new AttacksTriggeredAbility(new GoadTargetEffect(), true, "Whenever {this} attacks, you may goad target creature defending player controls.");
ability.addTarget(new TargetCreaturePermanent(new FilterCreaturePermanent("creature defending player controls"))); ability.addTarget(new TargetCreaturePermanent(new FilterCreaturePermanent("creature defending player controls")));
originalId = ability.getOriginalId(); originalId = ability.getOriginalId();
this.addAbility(ability);
} }
public CovetedPeacock(final CovetedPeacock card) { public CovetedPeacock(final CovetedPeacock card) {