Add base enemy repathing code.