30 lines
975 B
Groovy
30 lines
975 B
Groovy
[
|
|
new MagicStatic(
|
|
MagicLayer.ModPT,
|
|
MagicTargetFilter.TARGET_SQUIRREL_CREATURE
|
|
) {
|
|
@Override
|
|
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
|
|
pt.add(1,1);
|
|
}
|
|
},
|
|
new MagicWhenComesIntoPlayTrigger() {
|
|
@Override
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
permanent,
|
|
this,
|
|
"PN puts four 1/1 green Squirrel creature tokens onto the battlefield."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
game.doAction(new MagicPlayTokensAction(
|
|
event.getPlayer(),
|
|
TokenCardDefinitions.get("Squirrel1"),
|
|
4
|
|
));
|
|
}
|
|
}
|
|
]
|