So in my game I have the "Stun" state which stuns the target for 1 solid turn. Since I don't want the description be inaccurate with the turn counter, I set the stun (along with most of my other states) turn tick to be every Turn Start with the use of Yanfly's plugins.
So now if the enemy applies this state on the player, it does stun them for 1 turn and I am unable to do actions with the stunned actor. Problem is if the player applies the state on the enemy, it immediately end and they can do an immediate action. I noticed this problem with all of my states with the Turn Start, and while I glossed over the ones that are do DoT damage since their effect is guaranteed to happen after the previous turn effects such as Freeze (another disable that lasts for 1-2 turns) and Windspeed Deux (an action doubling buff that lasts for 2 turns) has one less turn on their effect. I didn't put this in the plugin help because I am asking a general help on how to make a stun (or state in general) that lasts a solid turn and is the same as to every character.
So now if the enemy applies this state on the player, it does stun them for 1 turn and I am unable to do actions with the stunned actor. Problem is if the player applies the state on the enemy, it immediately end and they can do an immediate action. I noticed this problem with all of my states with the Turn Start, and while I glossed over the ones that are do DoT damage since their effect is guaranteed to happen after the previous turn effects such as Freeze (another disable that lasts for 1-2 turns) and Windspeed Deux (an action doubling buff that lasts for 2 turns) has one less turn on their effect. I didn't put this in the plugin help because I am asking a general help on how to make a stun (or state in general) that lasts a solid turn and is the same as to every character.