I got an idea and not fully sure how to get it to work. Basically what I want is a passive state which I have a plugin for, but not sure how to get the desired effect. I am calling the state vengeful. It should offer the ally something like $gameActors.actor(x).customStats.ATK.modifier += (a,hp / a.mhp) / 2 * a.atk . Where the ally gains + to attack equal to half of the percentage life lost. Any tips or suggestions would be awesome thanks. Currently using Yanfly plugins, so I could use it with <Equip State: X> in the skill or <Passive State: X>. Either would really add it to the correct ally.
Custom Passive State Issue
Javascript/Plugin SupportOriginal thread: https://forums.rpgmakerweb.com/threads/custom-passive-state-issue.62685/