My project is starting to rely fairly heavily on states, but there are a lot of foundational things about them that I don't know, and that don't seem to be covered in the manual or online materials. Speaking just of the default battle system without any customized scripts...
1.) If you use a state-inducing move on an enemy (or visa versa) while an identical state is already in effect, what happens? Does it refresh the duration? Do nothing at all? Stack on top of the first for double the effect?
2.) Same as above, but if a different state is in effect. As an extension to this, can a single actor/enemy be affected by multiple states simultaneously?
3.) How exactly does state duration work? I thought it was self-explanatory, but I keep seeing one-turn states persist for a second turn. Particularly when adding a state through eventing at "end of turn".
4.) Do states behave differently when applied manually (through eventing) as opposed to being applied as the side-effect of a skill being used?
5.) Is there any kind of code, variable, etc. etc. that is capable of checking whether an actor/enemy is currently afflicted with a state? I'm not concerned over specific state vs any state, either check would work.
Thank you for any help with these questions. I hope they made sense. :blush:
1.) If you use a state-inducing move on an enemy (or visa versa) while an identical state is already in effect, what happens? Does it refresh the duration? Do nothing at all? Stack on top of the first for double the effect?
2.) Same as above, but if a different state is in effect. As an extension to this, can a single actor/enemy be affected by multiple states simultaneously?
3.) How exactly does state duration work? I thought it was self-explanatory, but I keep seeing one-turn states persist for a second turn. Particularly when adding a state through eventing at "end of turn".
4.) Do states behave differently when applied manually (through eventing) as opposed to being applied as the side-effect of a skill being used?
5.) Is there any kind of code, variable, etc. etc. that is capable of checking whether an actor/enemy is currently afflicted with a state? I'm not concerned over specific state vs any state, either check would work.
Thank you for any help with these questions. I hope they made sense. :blush: