magarena/release/Magarena/scripts/AEther_Figment.groovy

19 lines
556 B
Groovy

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