Added code to hit low health enemies if nearby and health is not too low