Skills with a chance to proc when damage is dealt

Just a quick question, wondering if someone could point me towards a script that will allow a skill or state to sometimes activate when either dealing or being dealt damage. A couple examples:

When character is dealt damage, there is a % chance to activate Regen on that character.

Passive skill that gives a % chance to reduce damage recieved to 0.

When a character deals damage there is a % chance to increase attack for rest of battle.

...etc. Thanks ahead of time.
Tsukihime has a script that does that called Conditional States, Conditional Effects, & Battle Reactions which you can find on her blog. Other authors have scripts that function the same way like Victor Sant's many 'Action' scripts or Passive States. Combining one of those with one of the many Passive Skills scripts you can find can lead to the second effect on your list. These are just some of the many possible scripts I use or come across. A Google search can probably go a long way too of course.

Original thread: https://forums.rpgmakerweb.com/threads/skills-with-a-chance-to-proc-when-damage-is-dealt.38142/