Rpg maker MV weapons and skills restrictions

What i say with this is if there is a way to put specific conditions to weapons or skills to be equipped/used.
For example, a weapon that requires 30 attack, and if you don´t have the condition, you can´t equip it. Or a spell thar requires 30 Magic attack, and if you don´t have it you can use it. Something similar to Dark souls, where their weapons and spells have those conditions.

I´m using chrono engine, so maybe that makes things even harder, but i would like to know if there is a way to do it.
What i say with this is if there is a way to put specific conditions to weapons or skills to be equipped/used.
For example, a weapon that requires 30 attack, and if you don´t have the condition, you can´t equip it. Or a spell thar requires 30 Magic attack, and if you don´t have it you can use it. Something similar to Dark souls, where their weapons and spells have those conditions.

I´m using chrono engine, so maybe that makes things even harder, but i would like to know if there is a way to do it.
You could do it by modifying ChronoEngine (setToolSkillID() and setToolWeaponID() functions) and notetags in the armor/weapon notebox but there should be a plugin for the vanilla engine that would stop you from equipping it.

Edit: There's a Yanfly plugin

And this
You could do it by modifying ChronoEngine (setToolSkillID() and setToolWeaponID() functions) and notetags in the armor/weapon notebox but there should be a plugin for the vanilla engine that would stop you from equipping it.

Edit: There's a Yanfly plugin

And this
It seems the second one only applies for armor, and armor is precisely the type of equipment that don´t have any restrictions. And the first one is a paid one, and i don´t know if the plugin would work in this plugin or not.

So, how i would edit the (setToolSkillID() and setToolWeaponID() functions to add those restictions to the skills and weapons?
So, how o would edit the (setToolSkillID() and setToolWeaponID() functions to add those restictions to the skills and weapons?
You need to put conditional statements inside of them to check if a condition you define in the weapon or skill notebox (e.g. a level or stat requirement) is true. I really recommend you learn some Javascript because you've been asking a lot of questions that require you to go into a plugin's code and edit it. Look at how other plugins do things (like use notetags) and adapt them for your use case.
You need to put conditional statements inside of them to check if a condition you define in the weapon or skill notebox (e.g. a level or stat requirement) is true. I really recommend you learn some Javascript because you've been asking a lot of questions that require you to go into a plugin's code and edit it. Look at how other plugins do things (like use notetags) and adapt them for your use case.
Is not a bad idea, i could get some plugin and try that.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-weapons-and-skills-restrictions.161824/