added landon function for ranged enemy