Talk:Penance aura

Does this work off the damage the hit deals or the damage the player takes?
For example if I am using a Divine Spirit Sheild, will I have my prayer restored from what the hit would be without the Divine or the damage that has been subtracted from my lp?