mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Merge pull request #1849 from danielyxie/dev
nerf manualHack int gain but differently
This commit is contained in:
commit
246e088365
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);
|
workerScript.scriptRef.recordHack(server.hostname, moneyGained, threads);
|
||||||
Player.gainHackingExp(expGainedOnSuccess);
|
Player.gainHackingExp(expGainedOnSuccess);
|
||||||
if (manual)
|
if (manual)
|
||||||
Player.gainIntelligenceExp(expGainedOnSuccess / (threads * CONSTANTS.IntelligenceTerminalHackBaseExpGain));
|
Player.gainIntelligenceExp(Math.pow(expGainedOnSuccess / CONSTANTS.IntelligenceTerminalHackBaseExpGain, 0.1));
|
||||||
workerScript.scriptRef.onlineExpGained += expGainedOnSuccess;
|
workerScript.scriptRef.onlineExpGained += expGainedOnSuccess;
|
||||||
workerScript.log(
|
workerScript.log(
|
||||||
"hack",
|
"hack",
|
||||||
|
Loading…
Reference in New Issue
Block a user