This might point you in the right direction. You should check out the callers to see what it's doing with the information. So far I've only messed around with changing how armor is displayed, and not weapons.
https://github.com/EQEmu/Server/blob.../mob.cpp#L2621