I'm using YEP plugin to make it so that when the player get's a certain state, a switch is turned on by adding the following to the notetag of the state:
<Custom Apply Effect>
$gameSwitches.setValue(1001, true)
</Custom Apply Effect>
This works as intended, but when I try to do the same but the state is a passive state given by equiping a armor, it stops working. For example, for the piece armor notetag, I add this in the notetag:
<Passive State: 34>
The state is still triggered, because I see the icon for it, but the switch is no longer triggered. Anyone knows if there is a way to circumvent this? Did i make a misstake or is there a fix?
<Custom Apply Effect>
$gameSwitches.setValue(1001, true)
</Custom Apply Effect>
This works as intended, but when I try to do the same but the state is a passive state given by equiping a armor, it stops working. For example, for the piece armor notetag, I add this in the notetag:
<Passive State: 34>
The state is still triggered, because I see the icon for it, but the switch is no longer triggered. Anyone knows if there is a way to circumvent this? Did i make a misstake or is there a fix?