magarena/release/Magarena/scripts/Coursers__Accord.groovy

18 lines
658 B
Groovy

[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Put a 3/3 green Centaur creature token onto the battlefield, then populate."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Centaur3")));
game.addEvent(new MagicPopulateEvent(event.getSource()));
}
}
]