magarena/release/Magarena/scripts/Magnivore.groovy

15 lines
420 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicCDA() {
@Override
public void modPowerToughness(
final MagicGame game,
final MagicPlayer player,
final MagicPowerToughness pt) {
final int size = game.filterCards(
player,
MagicTargetFilter.TARGET_SORCERY_CARD_FROM_ALL_GRAVEYARDS).size();
pt.set(size, size);
}
}
]