small changes to pathfinding

changed a modifier for when attacking so that the sprite wont move