Manipulating State Duration?

Hi, I'm trying to make a skill that extends the duration of an existing state by 1 turn (the state in question normally lasts 3 turns). I don't want to create a new state or reapply the existing state. I'm using Yanfly's buffstatescore and have it set to extend the duration of an existing state if reapplied. I found "this._stateSteps" in rpg_objects.js and was wondering how to properly use this to directly reference the duration of a state in lunatic mode. Thanks


Edit: Lol oops, found <State x Turns: +y> notetag, I'll try that.


Also is there a way to reference the number of turns on a state if i wanna incorporate it into a damage formula?

Original thread: https://forums.rpgmakerweb.com/threads/manipulating-state-duration.58083/