if(LosEffects.calculateLos(game, en.getId(),
new HexTarget(mf.getCoords(), game.getBoard(), Targetable.TYPE_HEX_CLEAR)).canSee()) {
target = 0;
break;
}
LosEffects los = LosEffects.calculateLos(game, en.getId(), layer);
if(los.canSee()) {
//TODO: need to add mods
ToHitData current = new ToHitData(4, "base");
current.append(Compute.getAttackerMovementModifier(game, en.getId()));
current.append(Compute.getTargetMovementModifier(game, layer.getId()));
current.append(los.losModifiers(game));
if(current.getValue() < target) {
target = current.getValue();
}
}
}