magarena/release/Magarena/scripts/Skizzik.groovy

12 lines
412 B
Groovy
Raw Normal View History

[
new MagicWhenComesIntoPlayTrigger() {
@Override
2013-06-23 18:29:26 -07:00
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
2013-06-19 07:23:35 -07:00
if (payedCost.isKicked() == false) {
game.doAction(new MagicAddTriggerAction(permanent, MagicAtEndOfTurnTrigger.Sacrifice));
}
return MagicEvent.NONE;
}
}
]