rangefinder, attackState change
added single target code and start of damage code