A few improvements 

- separate getWeightAttack and getWeightDefend functions
- fix #9 : return -1,5