pathfinding working and boss almost using it