added Reinforced Bulwark

master
a. benedict balbuena 2013-05-22 17:25:07 +08:00
parent 5cbb3bcdc2
commit 8df3c8fee4
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,26 @@
[
new MagicPermanentActivation(
[MagicCondition.CAN_TAP_CONDITION],
new MagicActivationHints(MagicTiming.Pump),
"Prevent 1"
) {
@Override
public MagicEvent[] getCostEvent(final MagicPermanent source) {
return [new MagicTapEvent(source)];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"Prevent the next 1 damage that would be dealt to PN."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPreventDamageAction(event.getPlayer(),1));
}
}
]

View File

@ -0,0 +1,12 @@
name=Reinforced Bulwark
url=http://magiccards.info/roe/en/223.html
image=http://magiccards.info/scans/en/roe/223.jpg
value=4.023
rarity=C
type=Artifact,Creature
subtype=Wall
cost={3}
pt=0/4
ability=defender
timing=main
requires_groovy_code