magarena/release/Magarena/scripts/Ardent_Soldier.groovy

20 lines
542 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(
final MagicGame game,
final MagicPermanent permanent,
2013-06-23 18:29:26 -07:00
final MagicPayedCost payedCost) {
2013-06-19 07:23:35 -07:00
if (payedCost.isKicked()) {
2013-04-12 19:58:51 -07:00
game.doAction(new MagicChangeCountersAction(
2013-06-19 07:23:35 -07:00
permanent,
MagicCounterType.PlusOne,
1,
true
));
2013-04-12 19:58:51 -07:00
}
return MagicEvent.NONE;
}
}
]