Weapon Proficiency To Determine Equipable Weapons?

Considering what you apparently intend to use it for, I'm surprised you think so.
I have a passing interest in this, which is why I chimed in, but with all the moving parts and necessary edits, I doubt you'll be able to get someone to do this for free.
@Maliki79 and I just realized Yanfly has an Actor Variables plugin to let actors hold a variable. Maybe that combined with Equip Requirements might do it! Like using the attack increases said variable by one every attack.
But how will you make the variable rise?
@Maliki79 I was thinking a damage formula like
Code:
$gameVariables.setValue(10, $gameVariables.value(13) + 1));a.atk - b.def
, but that only works if it was a global variable, not a per-actor variable.
Right. That actor variable thing you mentioned doesn't tell you how to raise it?
And how do you differentiate from different weapon types?
@Maliki79 That's right- it seems it just makes the variables visible on the the status menu.
Then it's back to the drawing board for you.
It would probably be best for you if you go ahead and learn to code yourself. The project you're working on is quite ambitious and it would be far easier if you could code/edit plugins yourself.
It's quite simple to do actually, and could be done with yanfly's equip requirements plugin and variables.
Just make a variable for each actor and weapon type proficiency.

Like actor1 sword proficiency = variable 101, spear proficiency = variable 102,...
actor2 sword prof = variable 111, spear = var 112,

Then you'll need to modify variable number: weapon type + 100 + actorId*10 instead of a fixed variable number.
If you have more than 10 weapon types then use actorId * 20 instead.

An example of a damage formula to raise proficiency could be:

Code:
$gameVariables.setValue(100+ a.actorId() * 10 + Your_Weapon_Type_Id_Here, $gameVariables.value(100+ a.actorId() * 10 + Your_Weapon_Type_Id_Here) + 1)

Use the variables as equip requirements then:
Code:
<custom requirement eval>
condition = $gameVariables.value( 100 + user.actorId() * 10 + Your_Weapon_Type_Id_Here) >= your_proficiency
</custom requirement eval>
The tags are probably wrong, It's been a while since I've looked at that plugin, but the js should be right.

Note that this asssumes the user of the spell is always an actor, it will crash your game if an enemy casts that because enemy don't have actorId properties. You could easily do that by using a user.isActor() check.

If you want to get weapon type ids dynamically here you go:
$dataWeapons[user._equips[0]._itemId].wtypeId
This assumes that weapons can only go into the first slot and that a weapon is always equipped. You could bypass that with a user.hasWeapon() check.

It's going to use a lot of variables, for what could easily be done using an array and a proper plugin, but it'll work.
@Astfgl66 Just so I understand this right, the 100s are replaced with the ID of the actor's weapon variable, correct?
No, the problem is that you want to have a variable for each actor and each weapon proficiency.
First set a base number, I arbitrarily chose 100.
Then use actorId * 10 or whatever multiplier works for your number of weapons
Then add weapon type ids

So you'd get for actor 1 weapon type 3: variable 113, actor 5 weapon type 8: variable 158.

This is much more work than learning a bit of js and doing it with an array, as it actually tries to mimic array functionality but without all the added features of a true array. Learn some js ^^ .
@Astfgl66 I gave it a try and the variable doesn't want to change.

😩Another feature for FE Essentials MV that goes into the scrapped pile, I am afraid... I am starting to wonder if this project is much too ambitious for anyone... That is TWO of a SRPG's main features (this and Class Change) that I have already had to scrap.
It does work in my project.
Here is my damage formula:
Code:
a.isActor() ? $gameVariables.setValue(a.actorId() * 10 + 100 + PROFNUMBERGOESHERE, $gameVariables.value(a.actorId() * 10 + 100 + PROFNUMBERGOESHERE)+1) : 0; a.atk * 4 - b.def * 2

This increases variable number actorId * 10 +100 , just modify the calculation by adding the proficiency id.
@Astfgl66 It may the battle system plugin I am using (tomoaky's SRPG one) that is not allowing the variable to increase (I've tried both of your formulas).
This is not likely, I really doubt a plugin would modify the way damage formulas are evaled or those basic actor properties.

Simply try to set variable 1 to 1 when attacking using the damage formula. If it works you'll be sure your formula is evaled.

If it does work try to set variable a.actorId() to 1. If this doesn't then either a or its actorId property doesn't exist. Do a console.log(a) and you'll see what it refers to and its properties.

If both of those things work then everything should.
@Astfgl66 This is what the console returns before and after using the skill with
Code:
console.log(a); a.atk - b.def
:
consolelog.png
Do a console.log a.actorId(), then we'll be sure that nothing's wrong with the formula.

If it does work:
Do a console log of variable 1, modify it, and another console log of variable 1 in the same damage formula.
If this works then your variables are getting modified elsewhere.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-proficiency-to-determine-equipable-weapons.95399/