Yes. By all means hire an attorney. You may have valid claims for the property damage, but in a nonpayment proceeding, your property damage claim may be severed or dismissed without prejudice as not being "inextricably connected" to the landlord's claim for possession.
You could have made a claim on the landlord's insurance as your property loss seems due to the landlord's negligence and you may have sued the landlord for your loss in Small Claims Court. If you had done so, you would not have withheld your rent to recover for that loss.
You may actually have facts that could support a counterclaim based on a breach of the warranty of habitability (also a defense to the nonpayment claim) but you do not seem to be aware of that real potential counterclaim or of that real defense to a landlord's nonpayment claim. You cannot just show up in court and orally raise complex defenses and counterclaims.
Hire an attorney because you have real rights.
The answer provided to you is in the nature of general information. The general proposition being that you should try to avoid a bad outcome if you can.
Of course it would be best if you retained an attorney. What you have described is a constructive eviction which is a defense to apying rent. You need to serve the landlord with an answer to the petition alleging your affirmative defense of constructive eviction. I suggest you hire an attorney immediately.
This e-mail may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and all copies and attachments. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. IRS Circular 230 Notice: Unless specifically stated otherwise, any tax advice contained in this communication (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. Unless specifically stated otherwise, this communication shall not be deemed to be legal or tax advice, and no attorney-client relationship shall be deemed to have been created.