magarena/release/Magarena/scripts/Eldrazi_Conscription.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.addAbility(Annihilator2);
}
@Override
public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return MagicStatic.acceptLinked(game, source, target);
}
}
]