MV Issues with Yanfly's Selection Control

Is there anyone else who just one "Select Conditions" doesn't work. I have a few skills that need something either the player needs or the enemy has before they can use said skill. Like if an enemy has the state "Unsuspecting" the player can then use the Skill "Sucker Punch". This works using this code:

<Select Conditions>
State: Unsuspecting
</Select Conditions>

Now, if I want the player to be able to have a "talk" skill that has "threaten", "persuade", and "calm". And each of these skills should be able to be done at different times of the fight. Threaten should only work, if you are kicking their butts, and are afraid of you. Persuade should only be done if you have a high "Charisma". And "Calm" can be done at all times.

So I can get the Calm to work, obviously. The High Charisma one works as well. But for the "Threaten" I can't get it work. I want to be able to threaten the enemy if their health is below a certain point.

Reading the Select Conditions section of the Plugin these should work:

<Select Conditions>
Param HP% <= 0.25
</Select Conditions>

or

<Select Conditions>
Param HP <= 25 (I have all my enemies/allies have 100 hp)
</Select Conditions>

Should check to see if the targets HP% is at or below 25% which would be 25 of 100. Or checks to see if the targets HP is at or below 25 of 100. If the HP% or the HP are above 25% or 25, the skill is grayed out, and this works. But, once I get the target down below 25% or 25hp, the skill is still grayed out.

Do we know if this "Select Condition" just doesn't work? Or am I using it wrong?

I would really love for this to work!
See the link in my signature - there's an error in the plugin for the Param condition. I give instructions on how to fix it.
So I have been using this forum for awhile now, and ATT_Turan you are always the best answers. And yet again, you come up big! I knew I wasn't doing anything wrong. I will take a look at changing the JS when I get back home from work. But at least I know its only 3 lines of code that need to be added/changed. I know JS, but not as much as C++ and Java.

ALright just looked that the code, got a question on the last line. Says 1471 that is the line with a closing bracket for the "try" function. I should put the return statement after the bracket? As I don't want it to return it if the "try" function fails right?

I should always try things before I type out in comments. I just read the code, figured out where I needed to put it. And now my functionality of the game works! Thanks so much!

Original thread: https://forums.rpgmakerweb.com/threads/issues-with-yanflys-selection-control.171059/