magarena/release/Magarena/scripts/Horncaller_s_Chant.groovy

20 lines
733 B
Groovy
Raw Normal View History

2013-02-18 05:49:34 -08:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Put a 4/4 green Rhino creature token with trample onto the battlefield, then populate.");
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Rhino4")));
game.addEvent(new MagicPopulateEvent(event.getSource()));
}
}
]