2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
this,
|
|
|
|
"PN gains 1 life for each land you control."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 06:13:32 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
final MagicPlayer player = event.getPlayer();
|
2013-07-14 04:50:06 -07:00
|
|
|
final int amount = player.getNrOfPermanents(MagicType.Land);
|
2013-04-12 19:58:51 -07:00
|
|
|
if (amount > 0) {
|
|
|
|
game.doAction(new MagicChangeLifeAction(player,amount));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|