magarena/release/Magarena/scripts/Intangible_Virtue.groovy

19 lines
632 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicStatic(
2013-06-23 18:29:26 -07:00
MagicLayer.ModPT,
2013-04-12 19:58:51 -07:00
MagicTargetFilter.TARGET_CREATURE_TOKEN_YOU_CONTROL) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
pt.add(1,1);
}
},
new MagicStatic(
2013-06-23 18:29:26 -07:00
MagicLayer.Ability,
2013-04-12 19:58:51 -07:00
MagicTargetFilter.TARGET_CREATURE_TOKEN_YOU_CONTROL) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.Vigilance);
}
}
]