magarena/release/Magarena/scripts/Kavu_Aggressor.groovy

20 lines
542 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,
1,
true
));
}
return MagicEvent.NONE;
}
}
]