mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
* Eddytrail Hawk - Fixed that the triggered ability was not optional.
This commit is contained in:
parent
2788bb9a17
commit
0702571be8
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue