- Joined
- Mar 4, 2018
- Messages
- 11
- Reaction score
- 13
- First Language
- EN, JP, GER
- Primarily Uses
- RMMV
Hi everyone! I would like to create a conditional branch in the common event used for the standard Attack command, checking if the user is affected by a certain state.
I'm using the conditional branch option with "script" selected and the following content
user.isStateAffected(31)
but it doesn't work. I've also tried
a.isStateAffected(31)
instead but it also didn't do anything.
Does anyone know how I can use the conditional branch to check if the user (not a specific character, since everyone uses/shares the Attack skill) of the skill is affected by a specific state or not? Thank you!

I'm using the conditional branch option with "script" selected and the following content
user.isStateAffected(31)
but it doesn't work. I've also tried
a.isStateAffected(31)
instead but it also didn't do anything.
Does anyone know how I can use the conditional branch to check if the user (not a specific character, since everyone uses/shares the Attack skill) of the skill is affected by a specific state or not? Thank you!
