Note: I, cbunting am not the author of this code.. Below is an excerpt from the real author. I just uploaded it.
—
From Fabrizio Baldi:
This piece of code implements a rudimental weapon proficiencies system
for warriors. I got the idea from the Smaug codebase, but i wrote all this
code on my own. I haven't made a patch of it because I have already
modified beyond this code so I can not do a patch directly. I hope I
haven't forgot anything. :-) I also hope you'll be able to read my
english.