magarena/release/Magarena/scripts/Pouncing_Kavu.groovy

21 lines
651 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(
permanent,
MagicCounterType.PlusOne,
2,
true
));
game.doAction(new MagicGainAbilityAction(permanent,MagicAbility.Haste,MagicStatic.Forever));
2013-04-12 19:58:51 -07:00
}
return MagicEvent.NONE;
}
}
]