added enemy proximity awareness