Hey guys, sorry for whats undoubtedly a very basic question but after hours of googling I cant find it. I want to invert the following statement:
$gameActors.actor(1).hasSkill(36)
I want to check that the actor does NOT have the skill. In most languages I know I can invert things with !, but im new to JS and I cant seem to figure it out, also I would need an inverse function I think, not an ! operator. Is there a "does not haver skill" function or just an inverse function to hasSkill?
Thanks in advanced for any help.
$gameActors.actor(1).hasSkill(36)
I want to check that the actor does NOT have the skill. In most languages I know I can invert things with !, but im new to JS and I cant seem to figure it out, also I would need an inverse function I think, not an ! operator. Is there a "does not haver skill" function or just an inverse function to hasSkill?
Thanks in advanced for any help.