merged new cards

master
melvin 2013-08-22 09:54:30 +08:00
commit 149b3c7fd6
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,25 @@
[
new MagicWhenOtherSpellIsCastTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack spell) {
return spell.isFriend(permanent) && spell.hasType(MagicType.Creature) ?
new MagicEvent(
permanent,
new MagicSimpleMayChoice(
MagicSimpleMayChoice.DRAW_CARDS,
1,
MagicSimpleMayChoice.DEFAULT_NONE
),
this,
"PN may\$ draw a card."
):
MagicEvent.NONE;
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
if (event.isYes()) {
game.doAction(new MagicDrawAction(event.getPlayer()));
}
}
}
]

View File

@ -0,0 +1,11 @@
name=Primordial Sage
url=http://magiccards.info/rav/en/177.html
image=http://magiccards.info/scans/en/rav/177.jpg
value=4.043
rarity=R
type=Creature
subtype=Spirit
cost={4}{G}{G}
pt=4/5
timing=main
requires_groovy_code