fixed enemy targeting system so enemies now target only allies that are alive.