magarena/release/Magarena/scripts/AEther_Figment.groovy

17 lines
505 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
@Override
2013-06-23 18:29:26 -07:00
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
2013-06-19 07:23:35 -07:00
if (payedCost.isKicked()) {
2013-04-12 19:58:51 -07:00
game.doAction(new MagicChangeCountersAction(
2013-06-17 23:30:37 -07:00
permanent,
MagicCounterType.PlusOne,
2,
true
2013-06-17 23:30:37 -07:00
));
2013-04-12 19:58:51 -07:00
}
return MagicEvent.NONE;
}
}
]