magarena/release/Magarena/scripts/Boneyard_Wurm.groovy

10 lines
332 B
Groovy

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