magarena/release/Magarena/scripts/Canopy_Cover.groovy

13 lines
491 B
Groovy
Raw Normal View History

2013-03-13 07:15:06 -07:00
[
new MagicStatic(MagicLayer.Ability) {
2012-08-24 18:17:35 -07:00
@Override
public void modAbilityFlags(final MagicPermanent source, final MagicPermanent target, final Set<MagicAbility> flags) {
flags.add(MagicAbility.CannotBeTheTarget(source.getOpponent()));
2012-08-24 18:17:35 -07:00
}
@Override
public boolean accept(final MagicGame game, final MagicPermanent source, final MagicPermanent target) {
2012-08-24 18:17:35 -07:00
return MagicStatic.acceptLinked(game, source, target);
}
2013-03-13 07:15:06 -07:00
}
]