MV Problem with the Auto Passive Condition plugin

Hello everyone ! I'm new to this forum so I hope I'm not making a mistake posting that here ^^'

Here's my problem : I want to use the Auto Passive Condition Plugin of Yanfly to make it so a piece of armor gives a passive State to the user, but I want that passive state to be active only when the user's HP is under 35% (and getting disabled again when the HP's percentage gets higher than 35%). To do that, I put the code in the armor piece's notebox to link the State to it, then I went to the State's notebox and put the code of the condition there. However, when I tested it, the passive of the armor was active all the time, even when the HP of the user were full ! From what I understand, the link to the State works just fine but the condition I put in the State's notebox is getting completely ignored. I followed the tutorials of Yanfly, I installed and enabled the PassiveCases and the AutoPassiveStates plugins, I browsed the forums here for hours, and I even rewrote the code countless types in countless different forms, but whatever I do the passive condition of the State is never applied...

Spoiler: Here's how it looks :
help request.jpg

I'm getting really desperate and I feel very dumb cause I want to do something very simple and I feel like I might have forgotten a tiny silly thing that makes the whole thing bug, but, well... Thanks in advance for your help guys ! If you need more informations, don't hesitate to ask ! ^^
I want that passive state to be active only when the user's HP is under 35% (and getting disabled again when the HP's percentage gets higher than 35%).
Your notebox doesnt look incorrect at a glance, but try
Code:
<Custom Passive Condition>
condition = user.hpRate() < 0.35;
</Custom Passive Condition>
and be sure to save your project after updating the notebox. Changes made to noteboxes and plugin settings do not take effect until the project has been saved
Thank you for your reply !

I always save after making changes and before testing it, so I don't think the problem came from there. ^^
I tried your code, but unfortunately it doesn't work either... 🙁 Maybe the problem isn't the code in itself, but something else that might be preventing it from being processed/applied ?
can you send a screenshot of your plugin manager to confirm that all of your yanfly plugins are loaded in the order as they appear on their website? if theyre not loaded in the right order errors can happen.
can you send a screenshot of your plugin manager to confirm that all of your yanfly plugins are loaded in the order as they appear on their website? if theyre not loaded in the right order errors can happen.
Yes sure !
Spoiler: Here you go ! ^^
help request 02.jpg
youre running the very first version of the passive plugin. The current version is 1.17, and the <Custom Passive Condition> notetag wasnt added in until 1.05

where did you get that version from? it should have been a more up-to-date one
A friend of mine sent it to me in a folder when he bought me the software I believe, but I may be mistaking it for something else since it was like eight years ago haha ^^ The passive plugin works though I think, since the state that is linked to it is applied when I tested it... But I guess it may be uncompatible with the passive condition one then ?

youre running the very first version of the passive plugin. The current version is 1.17, and the <Custom Passive Condition> notetag wasnt added in until 1.05

where did you get that version from? it should have been a more up-to-date one
A friend of mine sent it to me in a folder when he bought me the software I believe, but I may be mistaking it for something else since it was like eight years ago haha ^^ The passive plugin works though I think, since the state that is linked to it is applied when I tested it... But I guess it may be uncompatible with the passive condition one then ?
This works for me:

JavaScript:
<Passive Condition: HP Below 35%>
This works for me:

JavaScript:
<Passive Condition: HP Below 35%>
Thank you for your reply ! I tried it and it doesn't work either >< The problem must be with the version of my plugin... I'll try to find the newest one !
You can get the latest version for free from Yanfly's website.
You can get the latest version for free from Yanfly's website.
Thank you so much !!

Thank you so much guys, it works now ! I knew it was because of something silly haha !
This works for me:
going off of the changelog, passive conditions as a whole werent supported until 1.04

@Iceday
FWIW, i would take some time to update all your plugins. all of your other yanfly plugins besides the buffs and states one are also out of date.
Also the passive cases plugin doesnt really carry much value if youre using the lunatic tags the auto passive state plugin already provides
Ah, thank you for notifying me, I'll try to do so ! Do you know if Yanfly's full pack of plugins is available on steam, or is it only on his website ?
you can only get them off of from their itch.io page their website links to.
All of the ones you use are a part of the free set, so you wouldnt need the full pack regardless
Ah, alright, thank you !

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-the-auto-passive-condition-plugin.168356/