You could have a inspector use a infrared scope on the areas after a rainy day like today.
It won't tell you everything, but might tell you something.
Not all inspectors use these, but I have at least one that does.
One question might also be if you can get financing?
If there is structural damage that is causing leaks, your appraisal may not this and the underwriter not approve the loan.