magarena/release/Magarena/scripts/Woolly_Mammoths.groovy

11 lines
349 B
Groovy
Raw Normal View History

2013-06-03 02:01:53 -07:00
[
new MagicStatic(MagicLayer.Ability) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
if (permanent.getController().controlsPermanent(MagicType.Snow)) {
flags.add(MagicAbility.Trample);
}
}
}
]