magarena/release/Magarena/scripts/Drove_of_Elves.groovy

10 lines
316 B
Groovy

[
new MagicCDA() {
@Override
public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
final int size = player.getNrOfPermanents(MagicTargetFilter.TARGET_GREEN_PERMANENT_YOU_CONTROL);
pt.set(size, size);
}
}
]