This is a very specific thing but maybe someone can find a simple plugin solution...
Context:
I want to make a skill that adds a state to the user. The state would make their attacks be fire type from then on.
This state would expire after a number of attacks have been used. This I figured out with variables and common events, that part works fine and is not important.
The important part comes here:
Everytime the state is applied, a variable is edited to contain a string: "fire".
Everytime the state is removed, the variable is edited to contain the string: "normal".
With this variable, I thought it would be nice to add it to the skill description so the player would know the current type (without relying on state icons, this is important for me).
"Current type: \v[20]"
I have tested this and it works, but there's a big but: imagine you apply the state and change the string to "fire" in one turn, and then open the skill list the next turn. Your cursor starts on top of this skill, and instead of showing the actual current type (fire) it shows "normal". If you move your cursor to another skill and then move it back, it will say "fire" as it should. So the problem here is that it doesn't refresh the first time, but it does the second...
This is very annoying. Does someone know what is causing this?
Context:
I want to make a skill that adds a state to the user. The state would make their attacks be fire type from then on.
This state would expire after a number of attacks have been used. This I figured out with variables and common events, that part works fine and is not important.
The important part comes here:
Everytime the state is applied, a variable is edited to contain a string: "fire".
Everytime the state is removed, the variable is edited to contain the string: "normal".
With this variable, I thought it would be nice to add it to the skill description so the player would know the current type (without relying on state icons, this is important for me).
"Current type: \v[20]"
I have tested this and it works, but there's a big but: imagine you apply the state and change the string to "fire" in one turn, and then open the skill list the next turn. Your cursor starts on top of this skill, and instead of showing the actual current type (fire) it shows "normal". If you move your cursor to another skill and then move it back, it will say "fire" as it should. So the problem here is that it doesn't refresh the first time, but it does the second...
This is very annoying. Does someone know what is causing this?