Automatically apply states based on HP/MP rates

Is there a script that automatically applies states based on HP and MP percentages?  Google is not my friend, this time.

Edit, More Info:

Basically, I'm asking for a script that allows user defined percentages to be a condition for the automatic application or removal of user-defined states.  Perhaps an option to make this universal to all actors and enemies or not.  I'd prefer not to go that deep.

Example

if MP > 30%, then remove.state id000, add.state id 030

...or whatever programming lingo you crazy kids are using these days.

I wouldn't mind if this gets released to the public, if those are the rules, then super.

Thanks to whoever considers this request.
Split from Ruby/RGSSx Questions that don't deserve their own thread, and moved to RGSS3 Script Requests. Please remember to post your questions in the correct forum. Thank you.


Try the forum search (it's more exact than a Google search), or take a look through the Master Script List. I'm not aware of anything like that existing, but that doesn't mean much 🙂
It...didn't deserve its own thread 🤔

Either way, thanks.  Who knows?  Maybe someone will make it.
"Is there a script ..." is a Script Request. Therefore goes into Script Requests forum.
victor's may suit your request

http://victorscripts.wordpress.com/rpg-maker-vx-ace/gameplay-scripts/state-auto-apply/

otherwise, I have simplifier wounded state script (but, only works for HP)

http://theolized.blogspot.com/2013/05/theo-wounded-state.html
This skript is not exactly what you want, but it might also help:

http://himeworks.wordpress.com/2013/06/11/param-max-states/

Since the states are only applied at max, you'll probably have to define a "not-wounded"-state and invert some logic checks if you use that skript.
That is EXACTLY what I need.  Thank you, sir (ma'am?).

Shaz, I know you're watching.  You can close this, now.
🙂


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/automatically-apply-states-based-on-hp-mp-rates.19715/