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...
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 ! ^^
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...
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 ! ^^