Update Weapon.java

added rangecheck, removed unnecessary code