First, use  the MAO (Maximum Allowable Offer) rule.

MAO =  70% of the after repair market value - the costs of repairs.

AND Market value is not what the RE Agents say, but what it would actually sell for these days