diff --git a/autopilot.js b/autopilot.js index 3125dd05..4ac9b496 100644 --- a/autopilot.js +++ b/autopilot.js @@ -323,7 +323,7 @@ async function checkIfBnIsComplete(ns, player) { // HEURISTIC: If we naturally get within 75% of the if w0r1d_d43m0n hack stat requirement, // switch daemon.js to prioritize earning hack exp for the remainder of the BN if (player.skills.hacking >= (wdHack * 0.75)) - prioritizeHackForWd = true; + prioritizeHackForWd = !bnComplete; if (!bnComplete) return false; // No win conditions met @@ -923,4 +923,4 @@ function setStatus(ns, status, uniquePart = null) { * @param {NS} ns */ function persist_log(ns, text) { ns.write(persistentLog, `${(new Date()).toISOString().substring(0, 19)} ${text}\n`, "a") -} \ No newline at end of file +}