2013-05-19 01:15:21 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
2013-04-12 19:32:25 -07:00
|
|
|
@Override
|
2013-06-15 18:11:36 -07:00
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
|
2013-04-12 19:32:25 -07:00
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
this,
|
|
|
|
"PN puts three 1/1 red Human creature " +
|
|
|
|
"tokens with haste onto the battlefield. Sacrifice " +
|
|
|
|
"those tokens at the beginning of the next end step."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-05-19 01:15:21 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:32:25 -07:00
|
|
|
final MagicPlayer player = event.getPlayer();
|
2013-10-23 20:02:10 -07:00
|
|
|
final MagicCardDefinition token = TokenCardDefinitions.get("1/1 red Human creature tokens with haste");
|
2013-04-12 19:32:25 -07:00
|
|
|
for (int x=3;x>0;x--) {
|
|
|
|
final MagicPutIntoPlayAction action = new MagicPlayTokenAction(player, token);
|
|
|
|
game.doAction(action);
|
2013-07-13 08:34:23 -07:00
|
|
|
game.doAction(new MagicAddTriggerAction(
|
2013-04-12 19:32:25 -07:00
|
|
|
action.getPermanent(),
|
2013-07-19 05:30:55 -07:00
|
|
|
MagicAtEndOfTurnTrigger.Sacrifice
|
2013-04-12 19:32:25 -07:00
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
2013-05-19 01:15:21 -07:00
|
|
|
}
|
|
|
|
]
|