magarena/release/Magarena/scripts/Llanowar_Elite.groovy

20 lines
545 B
Groovy

[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(
final MagicGame game,
final MagicPermanent permanent,
final MagicPayedCost payedCost) {
if (payedCost.isKicked()) {
game.doAction(new MagicChangeCountersAction(
permanent,
MagicCounterType.PlusOne,
5,
true
));
}
return MagicEvent.NONE;
}
}
]