Comparison method for scattering off complex central potentials