Attack and Flee Functions Added