use of mage.abilities.effects.common.BecomeBlockedTargetEffect in project mage by magefree.
the class FogPatchEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
Effect effect = new BecomeBlockedTargetEffect();
effect.setTargetPointer(new FixedTargets(game.getBattlefield().getActivePermanents(StaticFilters.FILTER_ATTACKING_CREATURES, source.getSourceId(), game), game));
return effect.apply(game, source);
}
Aggregations