Merge pull request #1849 from danielyxie/dev

nerf manualHack int gain but differently
This commit is contained in:
hydroflame 2021-12-09 16:32:20 -05:00 committed by GitHub
commit 246e088365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -377,7 +377,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
workerScript.scriptRef.recordHack(server.hostname, moneyGained, threads);
Player.gainHackingExp(expGainedOnSuccess);
if (manual)
Player.gainIntelligenceExp(expGainedOnSuccess / (threads * CONSTANTS.IntelligenceTerminalHackBaseExpGain));
Player.gainIntelligenceExp(Math.pow(expGainedOnSuccess / CONSTANTS.IntelligenceTerminalHackBaseExpGain, 0.1));
workerScript.scriptRef.onlineExpGained += expGainedOnSuccess;
workerScript.log(
"hack",