MV Yanfly's passive aura effects (conditions)

Hello, everyone!!! I want to make an aura that buffs certain party members. For this, the aura will check if the targets have certain state. The code for this is something like this:

<Custom Aura Condition>
if (CONDITION) {
condition = true;
} else {
condition = false;
}
</Custom Aura Condition>

Does anybody know what do I have to write in "(CONDITION)" to check for the state? Thanks for reading!!!

Link to the plugin:

There's a pinned thread with MV's script calls, which includes how to check for states.

Yojur notetag should be:
Code:
<Custom Aura Condition>
condition=user.isStateAffected(X);
</Custom Aura Condition>

where X is the ID of the state they need to have.
There's a pinned thread with MV's script calls, which includes how to check for states.

Yojur notetag should be:
Code:
<Custom Aura Condition>
condition=user.isStateAffected(X);
</Custom Aura Condition>

where X is the ID of the state they need to have.
It worked perfectly fine. Thanks a lot for your help!!!

PS: Yeah, I was wondering if there was a place where all script calls where included. The thing is I didn't know they were called like that, so I couldn't search for them. Thanks again for the help. Have a nice day!!!

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-passive-aura-effects-conditions.150355/