magarena/release/Magarena/scripts/Ivy_Elemental.groovy

18 lines
481 B
Groovy

[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(
final MagicGame game,
final MagicPermanent permanent,
final MagicPlayer player) {
game.doAction(new MagicChangeCountersAction(
permanent,
MagicCounterType.PlusOne,
permanent.getKicker(),
true
));
return MagicEvent.NONE;
}
}
]