new targeting system, adjusted some values, erase enemy when end is reached