From what I understand from poking around on here for a bit now is that Visustella's skills core makes it possible to run scripts like this:
<JS Skill Enable>
enabled = user.isStateAffected(42);
</JS Skill Enable>
And that with base RPG Maker MZ functionality(?) I can also run a script like this:
$gameActors.actor(x).isWtypeEquipped(n);
So my idea is that I should be able to check to see if the player/party member is unarmed with something like, "$gameActors.actor().isWtypeEquipped();" and then do an "If-then" statement such that if the actor's weapon type is "undefined" then "<JS Skill Enable>" for, "unarmed," skills that are only available to the player if the player doesn't have any weapons equipped, in the same way that MZ natively allows you to set weapon/equipment requirements for certain skills to be accessible. What do you guys think? Would something like this be possible? I'm not quite sure how to do "If-Then's" like this in MZ, nor am I quite sure I'm whether or not this would work?
<JS Skill Enable>
enabled = user.isStateAffected(42);
</JS Skill Enable>
And that with base RPG Maker MZ functionality(?) I can also run a script like this:
$gameActors.actor(x).isWtypeEquipped(n);
So my idea is that I should be able to check to see if the player/party member is unarmed with something like, "$gameActors.actor().isWtypeEquipped();" and then do an "If-then" statement such that if the actor's weapon type is "undefined" then "<JS Skill Enable>" for, "unarmed," skills that are only available to the player if the player doesn't have any weapons equipped, in the same way that MZ natively allows you to set weapon/equipment requirements for certain skills to be accessible. What do you guys think? Would something like this be possible? I'm not quite sure how to do "If-Then's" like this in MZ, nor am I quite sure I'm whether or not this would work?