Yanfly Skill Core - Lunatic Mode Help

So with Yanfly's Skill Core plugin, I am trying to enter custom requirements so I can make the requirements include 3 types of weapon types and not 2 using Lunatic Mode. (Which basically allows you to enter in stuff manually, in this case custom equip requirements) What code am I looking for to check for required equips for the user with that skill?
I'm not in my PC, but the following code "should" work:

Code:
<Custom Requirement>
if (user.isWtypeEquipped(WTYPE_ID) {
value = true;
} else {
value = false;
}
</Custom Requirement>

I'll be able to test it only 1 AM, but I belive it should work.
I'm not in my PC, but the following code "should" work:

Code:
<Custom Requirement>
if (user.isWtypeEquipped(WTYPE_ID) {
value = true;
} else {
value = false;
}
</Custom Requirement>

I'll be able to test it only 1 AM, but I belive it should work.
So if I do this for multiple equips (As in to check it to see if the actor with that skill has any of the equipped, do I put all 3 numbers in the WTYPE, do I make an if statement for each, or do I do the user thing for each?
No. You will need to ask 3 times the same thing.

Code:
if (user.isWtypeEquipped(WTYPE_ID) || (user.isWtypeEquipped(WTYPE_ID2) || (user.isWtypeEquipped(WTYPE_ID3)
Tested u
No. You will need to ask 3 times the same thing.

Code:
if (user.isWtypeEquipped(WTYPE_ID) || (user.isWtypeEquipped(WTYPE_ID2) || (user.isWtypeEquipped(WTYPE_ID3)
Tested this and it actually gave me an error when I selected the "Skill" option. Then when I clicked the move, it gave this. When I tried it with only 1, I still got it.
The issue is the parentheses. The if statement should look like this:

if (user.isWtypeEquipped(WTYPE_ID) || user.isWtypeEquipped(WTYPE_ID2) || user.isWtypeEquipped(WTYPE_ID3))

Remove the two beginning parentheses at the start of the second and third check, then add one to the very end of the whole thing.

Side note: If you want to simplify the code a bit, this works too:

<Custom Requirement>
value = user.isWtypeEquipped(WTYPE_ID) || user.isWtypeEquipped(WTYPE_ID2) || user.isWtypeEquipped(WTYPE_ID3);
</Custom Requirement>
The issue is the parentheses. The if statement should look like this:

if (user.isWtypeEquipped(WTYPE_ID) || user.isWtypeEquipped(WTYPE_ID2) || user.isWtypeEquipped(WTYPE_ID3))

Remove the two beginning parentheses at the start of the second and third check, then add one to the very end of the whole thing.

Side note: If you want to simplify the code a bit, this works too:

<Custom Requirement>
value = user.isWtypeEquipped(WTYPE_ID) || user.isWtypeEquipped(WTYPE_ID2) || user.isWtypeEquipped(WTYPE_ID3);
</Custom Requirement>
This worked perfectly! Thank you

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-skill-core-lunatic-mode-help.92716/