It is based off damage, avoid the damage and avoid the time. This means that even having an object between you can help.