Does resurrecting allies prevent the durability penalty for dying?

I just learned from this question that it's possible to resurrect allies. We also know from this question that the penalty for dying is a 10% degradation in durability.

If you revive/resurrect an ally, is the durability penalty prevented?


Solution 1:

You take the durability hit when you die. It doesn't matter how you are returned to life.

enter image description here

Solution 2:

No. You gain the durability penalty immediately once you die.

So if you are in a boss fight and you die again and again and again but get a revive every time, eventually your equipment will break ( 0 / X durability )