Enemies won't use weapon restricted skills

Only plugin I've been using is WeaponAnimationSkill by Caethyril (old and updated versions) and at one moment for some reason enemies stopped using any skill which has a weapon restriction on it (I use a lot of common skills between player and enemies). It's the only factor that matters. If the skill has something other than "Nothing" set in the weapon prerequisites window, enemies will never use it. If enemies only have such skills, the game will crash (TypeError : cannot read property meta of null)(Only with old version of WeaponAnimationSkill) or the enemy will just instantly skip their turn (updated version of the plugin or full vanilla MV).
To be clear, I'm a bit unexperienced with RPG maker and it could be a stupid mistake on my part that I'm not aware of (a hidden secret setting, maybe modifying plugins in a project is a no-go idk)
Verifying game files did nothing.
This really bothers me so if anybody has an idea of what it could be it would be of a great help !
Only plugin I've been using is WeaponAnimationSkill by Caethyril
If you believe a plugin is a part of the issue, always link to it. I cant seem to find that one in Cae's plugin list and it doesnt come up in a google search. it doesnt sound like it should cause enemies to factor in weapon restrictions, but I cant say for certain without seeing it.

If the skill has something other than "Nothing" set in the weapon prerequisites window, enemies will never use it.
is there something preventing you from being able to make enemy only versions of those skills without weapon requirements?
Oh yeah mb I forgot, you can't find it because it isn't actually listed in their plugins apparently. Here's a link to the message in question that contains both the legacy and updated version.
To be clear, I'm not convinced at all this has anything to do with the plugin as it still happens after I delete it from the project. But it wasn't happening before the plugin modification.
Here's the link :

Nothing prevents me from redoing the skill without the weapon requirement and that's probably what I'm going to do, but I was just surprised that this never happened to anybody else while I'm sure some people actually used this plugin.
I'm just curious on how such problems can occur in vanilla MV
I'm just curious on how such problems can occur in vanilla MV
the thing is that enemies are programmed to ignore the weapon restrictions placed on skills because they do not have weapons by default. If enemies are respecting weapon restrictions, then its likely that either the core scripts were altered or you do have a plugin to make that change. neither version of Cae's plugin linked makes such a change.

if you open up the objects.js file in the js folder of your project, what version does it say across the top and how many total lines does it have?

Its also worth noting that plugin changes made in the plugin manager dont actually take place until you save your project. so if you had a plugin that makes that change enabled and you turned it off but didnt save, itd still be running
Ok so that's interesting, I messed up with the game core files somehow then, but I have no clue how.
I can ensure you Cae's plugin is the only one I have installed and used besides the default ones.

My rpg_objects.js is v1.6.2 and contains 10641 lines.

I realized that while troubleshooting this issue.
It persists after verifying files, uninstalling/reinstalling, removing all non-vanilla plugins, I really have no idea of what is going on in this project, I've been observing other weird behaviors like enemies only selecting the same move over and over (like 10 times at same priority, in 2 different test fights) for some reason (fixed with mv restart). For now I'm just making separate skills for player and monsters, but I'm really curious about what is going on.

Anyways, after investigating I don't think anyone can help me with this because it looks like corruption so idk. Thank you for your time, I'll post an update if I ever find the origin of the issue in case it happens to anybody else.
It persists after verifying files, uninstalling/reinstalling,
these 2 werent really going to be relevant. when you verify the integrity of MV or uninstall it, it refers to the rpgmaker editor program itself. it doesnt actually do anything for any game you make with it.


SInce youve already reinstalled it, make a fresh project, see if the issue still persists, and if it doesnt, overwrite all the core js files in your current project with those from the fresh one

Original thread: https://forums.rpgmakerweb.com/threads/enemies-wont-use-weapon-restricted-skills.180208/