2013-03-13 22:23:12 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
2012-09-15 18:13:41 -07:00
|
|
|
cardOnStack,
|
2011-08-12 02:27:58 -07:00
|
|
|
this,
|
|
|
|
"Prevent all damage that would be dealt to you and creatures you control this turn.");
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-08-12 02:27:58 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2013-02-16 02:49:26 -08:00
|
|
|
game.doAction(new MagicChangePlayerStateAction(event.getPlayer(),MagicPlayerState.PreventAllDamage));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-13 22:23:12 -07:00
|
|
|
}
|
|
|
|
]
|