I'm not sure if the itemcode for a weapon will work in the itemclass columns of skills.txt. I think it's only weapons classes that work in there.For example, if you put stf in an itemclass column, the skill will only work if you equip a weapon that has that weapon class in weapons.txt (like a staff or a maul). If you put 2hs in there, the skill will only work if you have one of those type of weapons (two-handed swords) equipped.
This won't work for all skills. For example, bow/crossbow and javelin skills tend to be hardcoded to their original weapon types. Probably similar with barbarian masteries..though I'm not sure.
But I did make an entire sorc skill tree require staves for casting by doing this (technically, a two-handed hammer or halber-type weapon would allow the sorc to cast these spells as well because they also use the stf weapon class, but no matter...how many sorcs can even lift one of those weapons?) 
------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary
[This message has been edited by jbouley (edited 24 November 2001).]