If a player is out of range of his melee attacks, Rakanoth will teleport to them and resume his melee attack patterns. If there are players that are within melee range, he may teleport away from the players.