If there is significant water damage, the landlord must abide by the implied warranty of habitability because the apartment has to be in livable condition. If the apartment is not to fit to live in because of the damage, the landlord is required to make necessary repairs.