magarena/release/Magarena/scripts/Harmonize.groovy

17 lines
489 B
Groovy
Raw Normal View History

2013-03-13 06:20:49 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Draw three cards."
);
}
@Override
2013-06-15 03:20:38 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-03-13 06:20:49 -07:00
game.doAction(new MagicDrawAction(event.getPlayer(),3));
}
}
]