15 lines
515 B
Groovy
15 lines
515 B
Groovy
def Annihilator2 = new MagicAnnihilatorTrigger(2);
|
|
|
|
[
|
|
new MagicStatic(MagicLayer.Ability) {
|
|
@Override
|
|
public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
|
|
permanent.addTrigger(Annihilator2);
|
|
}
|
|
@Override
|
|
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
|
return MagicStatic.acceptLinked(game, source, target);
|
|
}
|
|
}
|
|
]
|