New Card Scripts + Groovy

master
ShawnieBoy 2013-12-18 07:51:23 +00:00
parent 24d82096c5
commit 686c3369fe
7 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,32 @@
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.Land),
"Search"
) {
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
return [
new MagicTapEvent(source),
new MagicSacrificeEvent(source)
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"PN searches his or her library for a Island or Swamp card and puts it onto the battlefield. Then shuffle PN's library."
);
}
@Override
public void executeEvent(final MagicGame game,final MagicEvent event) {
game.addEvent(new MagicSearchOntoBattlefieldEvent(
event,
MagicTargetChoice.ISLAND_OR_SWAMP_CARD_FROM_LIBRARY
));
}
}
]

View File

@ -0,0 +1,8 @@
name=Bad River
url=http://magiccards.info/mr/en/289.html
image=http://mtgimage.com/card/bad%20river.jpg
value=3.093
rarity=U
type=Land
timing=land
requires_groovy_code

View File

@ -0,0 +1,11 @@
name=Cephalid Pathmage
url=http://magiccards.info/le/en/31.html
image=http://mtgimage.com/card/cephalid%20pathmage.jpg
value=2.677
rarity=C
type=Creature
subtype=Cephalid,Wizard
cost={2}{U}
pt=1/2
ability=unblockable;pay {T},{S}:Target creature gains unblockable until end of turn.
timing=main

View File

@ -0,0 +1,11 @@
name=Deepchannel Mentor
url=http://magiccards.info/shm/en/35.html
image=http://mtgimage.com/card/deepchannel%20mentor.jpg
value=3.6
rarity=U
type=Creature
subtype=Merfolk,Rogue
cost={5}{U}
pt=2/2
ability=lord blue creatures you control gain unblockable
timing=main

View File

@ -0,0 +1,8 @@
name=Rogue's Passage
url=http://magiccards.info/rtr/en/245.html
image=http://mtgimage.com/card/rogue's%20passage.jpg
value=3.84
rarity=U
type=Land
ability=tap add mana {1};pay {4},{T}:Target creature gains unblockable until end of turn.
timing=land

View File

@ -0,0 +1,11 @@
name=Talas Warrior
url=http://magiccards.info/po2/en/53.html
image=http://mtgimage.com/card/talas%20warrior.jpg
value=4.351
rarity=R
type=Creature
subtype=Human,Pirate,Warrior
cost={1}{U}{U}
pt=2/2
ability=unblockable
timing=main

View File

@ -0,0 +1,11 @@
name=Vectis Agents
url=http://magiccards.info/cfx/en/131.html
image=http://mtgimage.com/card/vectis%20agents.jpg
value=2.214
rarity=C
type=Artifact,Creature
subtype=Human,Rogue
cost={3}{U}{B}
pt=4/3
ability=pay {U}{B}:SN gets -2/-0 and gains unblockable until end of turn.
timing=artifact