added Ant Queen

master
Jak 2013-03-17 09:03:04 +08:00
parent 5afed2b27b
commit 6aa4b045cb
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,28 @@
[
new MagicPermanentActivation(
[
MagicConditionFactory.ManaCost("{1}{G}"),
],
new MagicActivationHints(MagicTiming.Flash),
"Token") {
@Override
public MagicEvent[] getCostEvent(final MagicPermanent source) {
return [new MagicPayManaCostEvent(source, source.getController(), MagicManaCost.create("{1}{G}"))];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"Put a 1/1 green Insect creature token onto the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Insect4")));
}
}
]

View File

@ -0,0 +1,11 @@
name=Ant Queen
url=http://magiccards.info/m10/en/166.html
image=http://magiccards.info/scans/en/m10/166.jpg
value=4.465
rarity=R
type=Creature
subtype=Insect
cost={3}{G}{G}
pt=5/5
timing=main
requires_groovy_code