Neon Samurai
Landlubber
If I may offer a suggestion, I would not try to price the weapons based on some formula steming from weapon stats. In the real world weapon prices would be based on many variables. People bought weapons for all kinds of different reasons, such as functionality, aesthetics, reputation (famous smith), exclusivity, etc. The costs to make a weapon can also vary wildly (sailors used cutlasses more because they were cheap to manufacture, and didn't require much training to use). Then there is the class aspect; the rapier is the gentleman's weapon, so it would logically be more expensive (even after the manufacturing costs) than a cutlass which is more of a commoner's weapon. So prices really would not be relative to their capability to speak of.
So if you really want to fix the prices you would have to look at each weapon and figure out prices based on all the factors I mentioned, including looks. You would get much better and more realistic results.
Personally though, I would spend the time on trying to differentiate the weapons more, as most of them have near identical stats (for their level) without much specialization between them (something I will be trying to fix for myself). It is a real shame the game does not have weapon speeds as that is a big factor in combat.
So if you really want to fix the prices you would have to look at each weapon and figure out prices based on all the factors I mentioned, including looks. You would get much better and more realistic results.
Personally though, I would spend the time on trying to differentiate the weapons more, as most of them have near identical stats (for their level) without much specialization between them (something I will be trying to fix for myself). It is a real shame the game does not have weapon speeds as that is a big factor in combat.