added damage tracking for player health and new enemy pathfinding