magarena/release/Magarena/scripts/Skirk_Outrider.groovy

20 lines
679 B
Groovy
Raw Normal View History

2013-06-03 02:03:11 -07:00
[
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
if (source.getController().controlsPermanent(MagicSubType.Beast)) {
pt.add(2,2);
}
}
},
new MagicStatic(MagicLayer.Ability) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
2013-06-06 23:29:08 -07:00
if (source.getController().controlsPermanent(MagicSubType.Beast)) {
2013-06-03 02:03:11 -07:00
flags.add(MagicAbility.Trample);
}
}
}
]