21 lines
659 B
Groovy
21 lines
659 B
Groovy
[
|
|
new MagicSpellCardEvent() {
|
|
@Override
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
cardOnStack,
|
|
MagicTargetChoice.POS_TARGET_PLAYER,
|
|
this,
|
|
"Target player\$ gains 8 life."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
event.processTargetPlayer(game, {
|
|
final MagicPlayer player ->
|
|
game.doAction(new MagicChangeLifeAction(player,8));
|
|
});
|
|
}
|
|
}
|
|
]
|