19 lines
538 B
Groovy
19 lines
538 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,
|
|
5,
|
|
true));
|
|
}
|
|
return MagicEvent.NONE;
|
|
}
|
|
}
|
|
]
|