Shooting reminds troopers of job's dangers