Residual damage from blocking

I have a few pieces of armor and skills that I want to make able to deal residual damage to enemies when they attack the character wearing the armor or shield. I.E. A Spike shield that deals damage to enemies when they attack the wielder, like maybe 10% of damage taken from the attack. Is there a script call or common event I can use

for this?

I.E. Spike damage from Diablo or Borderlands that enemies receive when they attack. Preferrably I'd like it to occur via a state and an equipment.
I think yanfly's Lunatic scripts could help... just not that sure though...
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Bumping, as I tries the aforementioned script and couldn't figure out how to work for what I wanted
What I use is Tsukihime's script 'Effect Manager' and then the effect 'Thorn Mail' which dishes damage back to the enemy if the actor who's equipped with it gets hit.

EDIT

Thought it might be more useful if I gave the link. http://forums.rpgmakerweb.com/index.php?/topic/5373-thorn-mail/?hl=%2Bthorn+%2Bmail

This is the link for Thorn Mail and the opening post gives the link for Effect Manager.
Ok man thanks thats perfect!

Original thread: https://forums.rpgmakerweb.com/threads/residual-damage-from-blocking.21063/