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,
|
2013-06-14 22:08:34 -07:00
|
|
|
"PN puts two 1/1 white Human creature tokens onto the battlefield. " +
|
|
|
|
"If you have 5 or less life, put five of those tokens onto the battlefield instead."
|
2013-04-12 19:58:51 -07:00
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-14 22:08:34 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
int amount = MagicCondition.FATEFUL_HOUR.accept(event.getSource()) ? 5 : 2;
|
2013-06-14 22:08:34 -07:00
|
|
|
game.doAction(new MagicPlayTokensAction(
|
|
|
|
event.getPlayer(),
|
|
|
|
TokenCardDefinitions.get("Human1"),
|
|
|
|
amount
|
|
|
|
));
|
2013-04-12 19:58:51 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|