We wanted to give players a little more freedom in their characters' build. Rather than saying a Fighter can only use One-Handed weapons, we want to make it so that he's more likely to fail when using a different weapon type. However, characters natively can't equip other weapon types at all unless they're a part of their skill set.
How could we implement a "proficiency" mechanic instead?
Fail what?
And which engine are you asking for? Your profile says you use VX Ace, but you posted in the MV forum.
If you mean fail to hit with an attack, you'd be looking to modify the hit formula through plugins or scripts, depending on which engine you're using.
If you don't need the feature of different weapon types, don't use it. Having the weapon be a different type in the database doesn't do anything aside from giving you the oportunity to have separate gear for different characters. if everyone should just be able to use every weapon, just use weapon type "Weapon".
After that, you could either make an elaborate evented system on how to track the characters skill level with said weapon, or you could go and find a coder to do it for you.
Or give every class every weapon type to be able to equip them, then manage the proficiency separately.
I'd appreciate if we could all assume here that I'm not a dunce. I'm aware which forum I'm posting in, and it is the correct one; and yes, I can either remove weapon types or make all of them equip-able by every class. I can also change a weapon's hit chance, thank you much for the insight. However, I'm asking how to make a particular class have a lower hit chance (or potentially another debuff, depending on the case) with particular weapon types, depending on which type they are skilled with.
If it's impossible for a class to wield a weapon type that is not in their skill set, that is the only answer I need.
That is not a necessary kind of response. You were asked civil and legitimate questions to help us answer your question correctly.
If you're not interested in providing civil answers without snark, then someone else will come along and help, or your not-duncedom will be able to Google the script calls for looking up what kind of weapon an actor is equipped with 😛
Ah yikes. Nobody assumed you're a dunce. People forget to update their profile or missclick all the time. People make mistakes like that. Us asking to make sure is to prevent us explaining 3 hours of "how to do it" for the potentially wrong engine.
We also don't know your game, what systems are already in place and what would work best, so we started by giving you an easy explanation on how to solve the "classes can only wield a certain weapon type", which is kind of the same in every engine.
So excuse us peasants for not just giving you an entire plugin's worth of code after a minimal explanation of your problem. Good luck.
Actually, we didn't know what you're asking because of vague wording, as I pointed out in my first reply.
As for the rest, well...this can be implemented in less than five minutes using, for example, Yanfly's Hit Accuracy plugin for MV.
But if you're too proud/obstinate/whatever to acknowledge how your original post was unclear and your subsequent reactions are overblown, then I genuinely wish you all luck in your endeavor.
L member, we's jus tryna help ;-;