added Trostani's Judgement

master
melvin 2013-02-19 21:42:50 +08:00
parent 40992c0e1a
commit fc9d73c7b9
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,28 @@
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(
final MagicCardOnStack cardOnStack,
final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
MagicTargetChoice.NEG_TARGET_CREATURE,
MagicBounceTargetPicker.getInstance(),
this,
"Exile target creature\$, then populate."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
event.processTargetPermanent(game,choiceResults,0,new MagicPermanentAction() {
public void doAction(final MagicPermanent creature) {
game.doAction(new MagicRemoveFromPlayAction(creature,MagicLocationType.Exile));
game.addEvent(new MagicPopulateEvent(event.getSource()));
}
});
}
}
]

View File

@ -0,0 +1,9 @@
name=Trostani's Judgement
url=http://magiccards.info/rtr/en/28.html
image=http://magiccards.info/scans/en/rtr/28.jpg
value=4.371
rarity=C
type=Instant
cost={5}{W}
timing=removal
requires_groovy_code