2013-03-18 02:55:15 -07:00
|
|
|
[
|
|
|
|
new MagicWhenBlocksTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2012-10-07 02:19:55 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocker) {
|
2011-08-13 08:52:26 -07:00
|
|
|
final MagicPermanent blocked=permanent.getBlockedCreature();
|
2012-10-07 02:19:55 -07:00
|
|
|
return (permanent==blocker &&
|
2011-09-04 03:47:16 -07:00
|
|
|
blocked.isValid() &&
|
2012-06-03 02:29:52 -07:00
|
|
|
blocked.hasAbility(MagicAbility.Flying)) ?
|
2011-08-13 08:52:26 -07:00
|
|
|
new MagicEvent(
|
2012-09-02 00:39:12 -07:00
|
|
|
permanent,
|
|
|
|
this,
|
2012-10-07 02:19:55 -07:00
|
|
|
"SN gets +3/+0 until end of turn."
|
|
|
|
):
|
2011-09-04 01:19:43 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-08-13 08:52:26 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2012-09-02 00:39:12 -07:00
|
|
|
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),3,0));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-18 02:55:15 -07:00
|
|
|
}
|
|
|
|
]
|