fix bugs and refactor pmx
fix whole bunch of bugs in weapon.rb and refactor
Merge pull request #13 from michalr/fixbugz_and_refactor

Fixbugz and refactor