MV Yanfly Auto Passive States problem

My problem is simple. YEP Auto Passive States doesn't seem to play nice with some other plugins, although I can't figure out why because I swear it used to work just fine. If anyone can figure out what the error MV throws at me means, I'd be quite grateful.
1643358522399.png
So an unexpected identifier usually means a syntax error - missing a comma, colon, parentheses, something.

I'm not sure why you'd be getting that referencing a line in the Yanfly plugin...have you modified the file? I wouldn't think it's having to do with other plugins, because it's still constructing the database, it hasn't even gotten to code that would be referencing between things.
@ATT_Turan I've modified nothing. Any ideas where this rogue error might be? I have no idea.
So just to confirm, line 381 in that file starts with obj.passiveConditionEval ?

I'm not that knowledgeable on how eval works, it might be possible that a syntax error in one of your custom passive conditions would pop the error out to there - do you have any?

If you switch off any of the other plugins in your project, does it have any effect, or does it always give this error? That would really be the way to narrow down some kind of weird conflict vs. an error someplace on your end.
@ATT_Turan So I turned off all of the plugins the error mentions aside from Auto Passive States, and I get this error:
1643498730221.png
What passive state notetags have you added?
What passive state notetags have you added?
A few things, but using my test copy I found what appears to be the culprit:

<Custom Passive Condition>

if user.hasSkill(195){

condition = true

} else {

condition = false

}

</Custom Passive Condition>

I was trying to use a condition with if user.isLearnedSkill() alongside FROG Talent Core and Talent Based Traits to do some stat boost passives, but that wasn't recognizing my character having learned the skills, so I tried using hasSkill instead, but it's caused this error.
You've forgotten the brackets around your if statement condition.
You've forgotten the brackets around your if statement condition.
Well, that fixed things right on up. Thanks, Trihan.
Any time. 🙂
And just to offer a tip you might find handy for the future, you could save yourself some typing this way:
Code:
<Custom Passive Condition>
condition=user.hasSkill(195);
</Custom Passive Condition>
And just to offer a tip you might find handy for the future, you could save yourself some typing this way:
Code:
<Custom Passive Condition>
condition=user.hasSkill(195);
</Custom Passive Condition>
Slick. Thanks, man.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-auto-passive-states-problem.144402/