magarena/release/Magarena/scripts/Ravaging_Riftwurm.groovy

20 lines
558 B
Groovy
Raw Normal View History

2013-03-13 07:20:22 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(
final MagicGame game,
final MagicPermanent permanent,
final MagicPlayer player) {
if (permanent.isKicked()) {
game.doAction(new MagicChangeCountersAction(
permanent,
MagicCounterType.Charge,
3,
true
));
}
return MagicEvent.NONE;
}
}
]