15 lines
523 B
Groovy
15 lines
523 B
Groovy
|
[
|
||
|
new MagicStatic(
|
||
|
MagicLayer.Ability,
|
||
|
MagicTargetFilter.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS) {
|
||
|
@Override
|
||
|
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
||
|
flags.add(MagicAbility.CannotAttackOrBlock);
|
||
|
}
|
||
|
@Override
|
||
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||
|
return target.hasCounters();
|
||
|
}
|
||
|
}
|
||
|
]
|