mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
Fix hackAnalyzeThreads again
But actually this time
This commit is contained in:
parent
3c18fd7a51
commit
dadf42bfe8
@ -176,7 +176,7 @@ export const ns: InternalAPI<NSFull> = {
|
|||||||
return 0; // To prevent returning infinity below
|
return 0; // To prevent returning infinity below
|
||||||
}
|
}
|
||||||
|
|
||||||
return (hackAmount / server.moneyAvailable) * percentHacked;
|
return hackAmount / (server.moneyAvailable * percentHacked);
|
||||||
},
|
},
|
||||||
hackAnalyze: (ctx) => (_hostname) => {
|
hackAnalyze: (ctx) => (_hostname) => {
|
||||||
const hostname = helpers.string(ctx, "hostname", _hostname);
|
const hostname = helpers.string(ctx, "hostname", _hostname);
|
||||||
|
Loading…
Reference in New Issue
Block a user