merge card from firemind

master
melvin 2013-12-31 09:39:35 +08:00
commit 645767a3b3
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,31 @@
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.Prevent),
"Prevent"
) {
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
return [
new MagicTapEvent(source), new MagicPayManaCostEvent(source, "{G}"), new MagicDiscardEvent(source, 1)
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"Prevent all combat damage that would be dealt this turn."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicAddTurnTriggerAction(
MagicIfDamageWouldBeDealtTrigger.PreventCombatDamage
));
}
}
]

View File

@ -0,0 +1,10 @@
name=Dawnstrider
url=http://magiccards.info/mm/en/237.html
image=http://magiccards.info/scans/en/mm/237.jpg
value=4.038
rarity=R
type=Creature
subtype=Dryad,Spellshaper
cost={1}{G}
pt=1/1
timing=main