refactored in range checks for weapons
fixed attacking while moving
Merge pull request #42 from Tadimsky/fix-attacking

Fix attacking