It goes, your dmg, multiplied by your pvp power, then reduced by their resil.

Say you ahve 30% pvp power, they have 60% resil.

An attack does 100 dmg normally, now it will do 130 dmg to the enemy. They reduce that by 60%, you do 52 damage.

Your 30% pvp power doesn't cancel out 30% of their resil.