Hey y'all!
So Yanfly's Buff/State core allows me to create buffs/states that can have their durations increased by skills and items easily enough. But what I want to do is make a state that has its duration increased by luck (or a stat, you know).
There's some "lunatic" JS stuff the plugin has that hopefully will make this possible. The formula itself should be pretty easy because it's just going to be 1:1 (don't worry, luck ranges from 0 to 5 in my game). So it would just be luck - 1 since RPG maker doesn't let me make states with a 0 turn duration, and I want it to literally be one turn per luck.
So Yanfly's Buff/State core allows me to create buffs/states that can have their durations increased by skills and items easily enough. But what I want to do is make a state that has its duration increased by luck (or a stat, you know).
There's some "lunatic" JS stuff the plugin has that hopefully will make this possible. The formula itself should be pretty easy because it's just going to be 1:1 (don't worry, luck ranges from 0 to 5 in my game). So it would just be luck - 1 since RPG maker doesn't let me make states with a 0 turn duration, and I want it to literally be one turn per luck.