Under the Illinois comparative negligence principle, as long as you are less than 50% responsible for the dog attack, you can still recover a portion of your damages.