21 lines
671 B
Groovy
21 lines
671 B
Groovy
[
|
|
new MagicSpellCardEvent() {
|
|
@Override
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
cardOnStack,
|
|
this,
|
|
"PN draws a card for each Human he or she controls."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
final MagicPlayer player = event.getPlayer();
|
|
game.doAction(new MagicDrawAction(
|
|
player,
|
|
player.getNrOfPermanentsWithSubType(MagicSubType.Human)
|
|
));
|
|
}
|
|
}
|
|
]
|