First you start you base off of the comparable home sales to arrive at a fair market value price. Then determine the amount of repairs/ improvements needed to bring the home into similar condition as the comparable sale.
Without knowing the after repair value and price range of the home, it would be hard to determine how much below comps you should bid. You want to give yourself a discount for having to deal with buying a home that needs extensive repairs.
Best of luck!