Is there a plugin for state buildup?

Allow me to preface this by stating I'm not asking someone to make a plugin for me. Just to identify if it exists and where I can find it if it does exist.
I'm looking for a plugin that would allow states to be applied based on a buildup meter, in a manner similar to games like Dark Souls and Bloodborne. How a state is applied is based on a meter being filled based on environment or enemy attacks, the size of the meter being determined by the player's resistance to that state. High Poison resistance would result in a longer bar that would take longer to fill, with lower resistance taking little time at all.
In terms of how it would apply to RMMV, I would imagine an enemy attack applying X% Poison rate, for instance, which would fill X% of the actor's bar. X% would be removed at the end of actor's turn or removed entirely with an item that removes the state. The state would not be applied until the meter is filled.
If a plugin like this exists, please let me know. I would also like to reiterate that this is not a request to have it made. If you know of a way I could achieve what I'm looking for without a plugin dedicated to just this, please let me know as well.
Bump.
Bump again.
Bumping this again as I still need something like this, and maybe something has been developed in the meantime.
You can do it without plugin but simply with javascript with a variable per state which is increased by the use of the state applying skill.

If the variable reaches a certain value, the state will be applied.
You can do it without plugin but simply with javascript with a variable per state which is increased by the use of the state applying skill.

If the variable reaches a certain value, the state will be applied.
Unfortunately, I am not skilled with javascript and would not know where to even begin in applying this kind of mechanic to my game.
Start over here to know how to increment variable with skills and had conditionnal effects.

Allow me to preface this post with: As I am typing this, I am trying to understand how this could feasibly work, my understanding of how damage formulas work is still very theoretical and I am at least somewhat familiar with some of the possibilities it can present.

So looking at this, I'm not seeing anything that will, in the damage formula box, raise the variable number for the state. There is also the potential issue of how to check the 'resistance' of the enemy.
Thus far, the only thing I can think of in terms of adding a state to an enemy by way of variable is this example: [if (v[10] > 100) b.addState(10); 100]
However, assuming I've done this correctly, that would be taking a global variable [10] which would have to be set specifically for a given enemy. That isn't even going into how to empty the state buildup over time, or empty it, or even account for multiple copies of the same creature.
How would the skill differentiate between Bats A, B, C, and D? Would the formula box be large enough to account for every possible enemy on the field?
I apologize for my scattered musings, again, half of this is me talking through it and pointing out the possible issues as they occur to me.

Points I'm trying to make:
How to raise variable [x], how to account for enemy resistance [X = Y to apply state]; how to account for every possible enemy [Battler 1 having Y100 Resistance, B2 having Y200 Resistance, B3 being a copy of B2 and thus having the same resistance]; If Battlers can be differentiated in the Damage Formula in the first place [I see something for Enemy ID, but I believe that refers to the ID in the Database, not the Battler number in combat].

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-plugin-for-state-buildup.117675/