YEP Skill Core: Another Simple JS Question

Hey Folks,

Still trying to get the hang of things, is this right?

If not, why not -- what did I get wrong?

Code:
<Custom Post-Damage Eval>
if (b.isStateAffected(85))
</Custom Post-Damage Eval>

I want the skill to be activated, unless the Target is afflicted with State 85.
First, the notetag should be <Post-Damage Eval>, without the custom. Next, I'm not sure if b.isStateAffected actually works in JavaScript in that location. Try using target instead of b. Finally, depending on whether or not the condition should trigger with or without the state, you may want !target.isStateAffected(85). The exclamation point indicates not, or if the target doesn't have that state. That's all I can help with without more information on what you're attempting.
Yup, its fixed now. I got a PM explaining everything and helping me out.

Original thread: https://forums.rpgmakerweb.com/threads/yep-skill-core-another-simple-js-question.80232/