Added avoid functionality to enemy AI