Change outside battle generation from steps to frames?

Hey,
I don't really know which keywords I would have to look for to find a plugin like this, I still tried around with "state" "tick" etc. but didn't find anything helpfull yet, maybe you can help me.
I am looking to change outside degeneration states / slip damage to not be based on steps anymore but happen every, for example: 30 frames!
Is there a plugin for that already?
You can do this by parralel process but it would be complicated with a lot of character ...
Create a parralel process common event with a switch as trigger (Parralel event must have one so just choose one who is on all time)
-If : Heroes1 have state Poison
Change Hp : Heroes1, -1
-If : Heroes2 have state Poison
Change Hp : Heroes2, -1
[Do "if : Heroes" for every heroes you can have]
- Wait : 60 frames

-1 is the damage
60 frames is the time between every damage.


But you have to damage only with common event, otherwhise you'll take the damage from the state and from the common event.

It's a little complexe yeah ... Hope you'll find a plugins >.< (Whops I didn't see it was on the Plugins request forum >.< I trought it was on the help section [I just has clicked it on the left pannel of the index :/ You know the "New thread" ...])
You could try using this:

Code:
Game_Actor.prototype.stepsForTurn = function() {
    return 30; // How many frames for effect.
};

Game_Actor.prototype.turnEndOnMap = function() {
    if (Graphics.frameCount % this.stepsForTurn() === 0) {
        this.onTurnEnd();
        if (this.result().hpDamage > 0) {
            this.performMapDamage();
        }
    }
};
You could try using this:

Code:
Game_Actor.prototype.stepsForTurn = function() {
    return 30; // How many frames for effect.
};

Game_Actor.prototype.turnEndOnMap = function() {
    if (Graphics.frameCount % this.stepsForTurn() === 0) {
        this.onTurnEnd();
        if (this.result().hpDamage > 0) {
            this.performMapDamage();
        }
    }
};

I am sorry for being dumbo but... add as a plugin? as a plugin command? as a script? or edit the original file... in which is it °^° ? ( I guess its the last one)
Copy the text into a text editor, save it as a js file and import it as a plugin. Editing the core files directly will lead to a loss of the changes once MV is updated.

Original thread: https://forums.rpgmakerweb.com/threads/change-outside-battle-generation-from-steps-to-frames.82175/