* Eddytrail Hawk - Fixed that the triggered ability was not optional.

This commit is contained in:
LevelX2 2016-09-18 22:26:41 +02:00
parent 2788bb9a17
commit 0702571be8

View file

@ -69,7 +69,7 @@ public class EddytrailHawk extends CardImpl {
// When Eddytail Hawk enters the battlefield, you get {E}{E}.
this.addAbility(new EntersBattlefieldTriggeredAbility(new GetEnergyCountersControllerEffect(2)));
// When Eddytail Hawk attacks you pay {E}. If you do, another target attacking creature gains flying until end of turn.
DoIfCostPaid doIfCostPaidEffect = new DoIfCostPaid(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new PayEnergyCost(1), null, false);
DoIfCostPaid doIfCostPaidEffect = new DoIfCostPaid(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new PayEnergyCost(1), null, true);
Ability ability = new AttacksTriggeredAbility(doIfCostPaidEffect, false,
"Whenever {this} attacks you pay {E}. If you do, another target attacking creature gains flying until end of turn.");
ability.addTarget(new TargetCreaturePermanent(filter));