Sensor-fuzed weapon