magarena/release/Magarena/scripts/Tuktuk_the_Explorer.groovy

18 lines
626 B
Groovy

[
new MagicWhenDiesTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts a legendary 5/5 colorless Goblin Golem artifact creature token " +
"named Tuktuk the Returned onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokenAction(event.getPlayer(),TokenCardDefinitions.get("Tuktuk the Returned")));
}
}
]