Basically the title. I was able to find a thread with a plugin that almost works perfectly HERE. The on-equip notetag works just fine but the unequip notetag does not change the desired variable. I'm using the Visustella Core plugins plus the VS WeaponSwap, Variable Guages, and SkillContainer plugins. I'm guessing maybe the ItemEquipsCore plugin is interfering somehow?
Here are the Notetags I'm using on my armor:
<onEquipJS>
$gameVariables.setValue(11, 10);
</onEquipJS>
<onUnequipJS>
$gameVariables.setValue(11, 0);
</onUnequipJS>
Here is my plugin list
Like I said, the onEquipJS Notetag works great and changes Variable 11 to a value of 10, however when I remove the armor and look at the Variable, it is still set to 10 rather than reverting to 0. I tried using a Common Event as well per the plugin instructions (although I would like to avoid that route if possible as I do not want to make Common Events for every piece of armor) but it does not run the event when the armor is removed either. Seems like the <onUnequipJS> notetag is not triggering anything.
Thanks in advanced!
Here are the Notetags I'm using on my armor:
<onEquipJS>
$gameVariables.setValue(11, 10);
</onEquipJS>
<onUnequipJS>
$gameVariables.setValue(11, 0);
</onUnequipJS>
Here is my plugin list
Like I said, the onEquipJS Notetag works great and changes Variable 11 to a value of 10, however when I remove the armor and look at the Variable, it is still set to 10 rather than reverting to 0. I tried using a Common Event as well per the plugin instructions (although I would like to avoid that route if possible as I do not want to make Common Events for every piece of armor) but it does not run the event when the armor is removed either. Seems like the <onUnequipJS> notetag is not triggering anything.
Thanks in advanced!