2013-03-17 23:10:09 -07:00
|
|
|
[
|
|
|
|
new MagicLandfallTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2012-08-29 23:12:15 -07:00
|
|
|
public MagicEvent getEvent(final MagicPermanent permanent) {
|
2012-06-17 05:19:08 -07:00
|
|
|
final MagicPermanent equippedCreature = permanent.getEquippedCreature();
|
2012-08-29 23:12:15 -07:00
|
|
|
return equippedCreature.isValid() ?
|
2011-09-07 10:56:39 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
2012-08-29 23:12:15 -07:00
|
|
|
permanent.getController(),
|
2012-10-06 20:32:09 -07:00
|
|
|
equippedCreature,
|
2011-09-07 10:56:39 -07:00
|
|
|
this,
|
2012-08-29 23:12:15 -07:00
|
|
|
"Equipped creature gets +2/+2 until end of turn.") :
|
2011-09-07 10:56:39 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-09-07 10:56:39 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2012-10-06 20:32:09 -07:00
|
|
|
game.doAction(new MagicChangeTurnPTAction(event.getRefPermanent(),2,2));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-17 23:10:09 -07:00
|
|
|
}
|
|
|
|
]
|