Greetings. I'm trying to create code that checks if the actor has a certain equipment type. I'm using VisuStella's Skills and States Core, specifically the <JS Passive Condition> notetag. It is a passive state that should only activate if the actor does not have the Shield armor type equipped.
I've tried the following codes, but neither has worked for me. I cannot figure out where I went wrong.
Code A
Code B
I've tried the following codes, but neither has worked for me. I cannot figure out where I went wrong.
Code A
<JS Passive Condition>
condition = !$gameActors.actor(4).equips()[1]
</JS Passive Condition>
Code B
<JS Passive Condition>
condition = !user.equips == 1
</JS Passive Condition>