this.counter = effect.counter.copy();
}
this.amount = effect.amount;
}
@Override
<BUG>public boolean apply(Game game, Ability source) {
int affectedTargets = 0;</BUG>
for (UUID uuid : targetPointer.getTargets(game, source)) {
Permanent permanent = game.getPermanent(uuid);
if (permanent != null) {

this.counter = effect.counter.copy();
}
this.amount = effect.amount;
}
@Override
public boolean apply(Game game, Ability source) {
Player controller = game.getPlayer(source.getControllerId());
MageObject sourceObject = game.getObject(source.getSourceId());
if (controller != null && sourceObject != null) {
int affectedTargets = 0;
for (UUID uuid : targetPointer.getTargets(game, source)) {
Permanent permanent = game.getPermanent(uuid);
if (permanent != null) {
