disallow setting the weapon range to a floating point value

it gets handled as an integer internally anyway