magarena/release/Magarena/scripts/Reckless_One.groovy

12 lines
406 B
Groovy

[
new MagicCDA() {
@Override
public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
final int amount =
player.getNrOfPermanentsWithSubType(MagicSubType.Goblin) +
player.getOpponent().getNrOfPermanentsWithSubType(MagicSubType.Goblin);
pt.set(amount,amount);
}
}
]