14 lines
526 B
Groovy
14 lines
526 B
Groovy
[
|
|
new MagicStatic(MagicLayer.Ability) {
|
|
@Override
|
|
public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
|
|
flags.add(MagicAbility.Flanking);
|
|
permanent.addAbility(MagicFlankingTrigger.create());
|
|
}
|
|
@Override
|
|
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
|
return MagicStatic.acceptLinked(game, source, target);
|
|
}
|
|
}
|
|
]
|