added Azorius Arrester

master
melvin 2013-02-17 18:43:11 +08:00
parent b9f3f6d317
commit b23bba5217
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,25 @@
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
return new MagicEvent(
permanent,
MagicTargetChoice.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS,
new MagicNoCombatTargetPicker(true,true,false),
this,
"Detain target creature\$ an opponent controls."
);
}
@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 MagicDetainAction(creature));
}
});
}
}
]

View File

@ -0,0 +1,11 @@
name=Azorius Arrester
url=http://magiccards.info/rtr/en/5.html
image=http://magiccards.info/scans/en/rtr/5.jpg
value=3.937
rarity=C
type=Creature
subtype=Human,Soldier
cost={1}{W}
pt=2/1
timing=main
requires_groovy_code