replace groovy code with ability
parent
a650a21efe
commit
ea8ddd3514
|
@ -1,4 +1,4 @@
|
||||||
name=Dragon5
|
name=5/5 red Dragon creature token with flying
|
||||||
token=Dragon
|
token=Dragon
|
||||||
image=http://magiccards.info/extras/token/worldwake/dragon.jpg
|
image=http://magiccards.info/extras/token/worldwake/dragon.jpg
|
||||||
value=5
|
value=5
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
[
|
|
||||||
new MagicPermanentActivation(
|
|
||||||
new MagicActivationHints(MagicTiming.Token),
|
|
||||||
"Token"
|
|
||||||
) {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
|
||||||
return [new MagicPayManaCostEvent(source,"{5}{R}{R}")];
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
||||||
return new MagicEvent(
|
|
||||||
source,
|
|
||||||
this,
|
|
||||||
"Put a 5/5 red Dragon creature token with flying onto the battlefield."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
||||||
game.doAction(new MagicPlayTokenAction(event.getPlayer(),TokenCardDefinitions.get("Dragon5")));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -5,5 +5,5 @@ value=3.924
|
||||||
rarity=R
|
rarity=R
|
||||||
type=Enchantment
|
type=Enchantment
|
||||||
cost={4}{R}{R}
|
cost={4}{R}{R}
|
||||||
|
ability=pay {5}{R}{R}: PN puts a 5/5 red Dragon creature token with flying onto the battlefield.
|
||||||
timing=enchantment
|
timing=enchantment
|
||||||
requires_groovy_code
|
|
||||||
|
|
Loading…
Reference in New Issue