Using the YEP Buffstatecore, there is an option for state reapplication rules, the first is to Ignore, the second is to reset turns back to the max (if you have a 10turn state on you that's down to 5 left and you reapply it, it will return to 10 turns), and the third is add. when using add, it adds on the entire turn duration, so if a state lasts 10 turns, and at 5, you reapply it, it now lasts 15.
Does anyone who knows more about using Lunatic Mode have any idea if it's possible to add a cap to this? For example, maybe a state lasts 10 turns, but you can keep spamming it, theoretically this means you could get it up to 1000 turns. I am seeking a piece of code that could cap it, such that maybe you could only get it to max out at 30 or 40 turns.
Is anyone aware of any such way to do this?
Normally I just use the Reset rule, but when playing Octopath Traveler, I realized it's nice to be able to extend buffs if you have extra turns.
www.yanfly.moe
Does anyone who knows more about using Lunatic Mode have any idea if it's possible to add a cap to this? For example, maybe a state lasts 10 turns, but you can keep spamming it, theoretically this means you could get it up to 1000 turns. I am seeking a piece of code that could cap it, such that maybe you could only get it to max out at 30 or 40 turns.
Is anyone aware of any such way to do this?
Normally I just use the Reset rule, but when playing Octopath Traveler, I realized it's nice to be able to extend buffs if you have extra turns.