magarena/release/Magarena/scripts/Master_of_Etherium.groovy

10 lines
323 B
Groovy

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