I think this is the first time I'm actually requesting a whole script... even if it is just a snippet...
So, I'm trying to achiev some very unique effects with lunatic states, but for that, I need to check how many turns a state has being applied to an actor/enemy individually.
I tried to do this with variables, but the problem is that if I use 1 variable for that state, every time an actor or enemy add that state again, the variable would reset to 0, even if someone already had that state for several turns before, and even if I create 8 or even more variables for each possible member a battle would have, let's say my team has 4 members, and there's 4 enemies, I would need 8 variables for each of them, and 8 for each state that have an effect that count the turns... That would be a lot of variables...
So that's why I think a snippet that return how many turns a state has being applied on would be more versatil and useful.
Or maybe, someone could point me out a better method that doesn't require a script?
I tried using arrays in the lunatic state, but they just reset to 0 whenever I call again for that lunatic effect.
Anyways, thanks in advance to whoever who can help me out!
So, I'm trying to achiev some very unique effects with lunatic states, but for that, I need to check how many turns a state has being applied to an actor/enemy individually.
I tried to do this with variables, but the problem is that if I use 1 variable for that state, every time an actor or enemy add that state again, the variable would reset to 0, even if someone already had that state for several turns before, and even if I create 8 or even more variables for each possible member a battle would have, let's say my team has 4 members, and there's 4 enemies, I would need 8 variables for each of them, and 8 for each state that have an effect that count the turns... That would be a lot of variables...
So that's why I think a snippet that return how many turns a state has being applied on would be more versatil and useful.
Or maybe, someone could point me out a better method that doesn't require a script?
I tried using arrays in the lunatic state, but they just reset to 0 whenever I call again for that lunatic effect.
Anyways, thanks in advance to whoever who can help me out!