MV Help With Yanfly Passives and Buffs/States Core

For my project, I want to have passive skills that will increase the duration of stat buffs and status conditions. Fore Example: When a character with a Passive Skill to extend Poison by 3 turns uses a skill that Poisons the foe, the Poison State would last 7-8 Turns instead of normally 3-4 Turns.

Using Yanfly's Auto Passive States and Buffs & States Core sounds like the best way to do this but I'm pretty sure it requires the use of "Lunatic Mode" and I don't have the JavaScript experience to make it happen.

I would appreciate assistance in accomplishing this idea, that is if it's possible to begin with with these plugins.

Thanks in advance.
You should be able to do this by putting a notetag like this in the poison state:
Code:
<Custom Apply Effect>
if (origin.isStateAffected(42))
    target._stateTurns[stateId] += 3;
</Custom Apply Effect>

where 42 is the ID of the passive state, and the 3 is how many extra turns to add.

Buffs are a bit trickier; you'd need a custom plugin to affect those (or put Skill Core notetags on every individual skill that can apply them).
You should be able to do this by putting a notetag like this in the poison state:
Code:
<Custom Apply Effect>
if (origin.isStateAffected(42))
    target._stateTurns[stateId] += 3;
</Custom Apply Effect>

where 42 is the ID of the passive state, and the 3 is how many extra turns to add.

Buffs are a bit trickier; you'd need a custom plugin to affect those (or put Skill Core notetags on every individual skill that can apply them).
It works!
Thanks a ton! 😀

Original thread: https://forums.rpgmakerweb.com/threads/help-with-yanfly-passives-and-buffs-states-core.173777/