use of mage.abilities.effects.common.DamageAllEffect in project mage by magefree.
the class SwathcutterGiantEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
FilterCreaturePermanent filter = new FilterCreaturePermanent();
filter.add(new ControllerIdPredicate(game.getCombat().getDefenderId(source.getSourceId())));
return new DamageAllEffect(1, filter).apply(game, source);
}
Aggregations