magarena/release/Magarena/scripts/Cognivore.groovy

15 lines
434 B
Groovy
Raw Normal View History

[
new MagicCDA() {
2012-06-17 05:19:08 -07:00
@Override
public void modPowerToughness(
final MagicGame game,
final MagicPlayer player,
final MagicPowerToughness pt) {
final int size = game.filterCards(
2012-06-17 05:19:08 -07:00
player,
MagicTargetFilter.TARGET_INSTANT_CARD_FROM_ALL_GRAVEYARDS).size();
pt.set(size, size);
}
}
]