Knowing that the lenders are now extra-careful, one would think that it's nNearly if not impossible to get a loan on a condo where the complex is in litigation. In many cases condos in such situations are listed as "cash only".
Most lenders will stay away from condo complexes with pending litigation, regardless of whether it's the HOA filing, or the suit is against the HOA. If not immediately disclosed, the lender will require that the HOA complete a questionnaire. If there is a pending litigation, that stops the lending process.
If you're looking to buy, this is a question you should ask your lender first before you write an offer. And if you're getting an FHA loan, you should also ask the lender to determine if the the complex is FHA-approved.