mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 00:47:33 +01:00
commit
b990e0e71c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -530,7 +530,6 @@ export function NetscriptSingularity(
|
||||
|
||||
if (player.hasProgram(item.program)) {
|
||||
workerScript.log("purchaseProgram", `You already have the '${item.program}' program`);
|
||||
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -540,6 +539,7 @@ export function NetscriptSingularity(
|
||||
"purchaseProgram",
|
||||
`You have purchased the '${item.program}' program. The new program can be found on your home computer.`,
|
||||
);
|
||||
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
|
||||
return true;
|
||||
},
|
||||
getCurrentServer: function (): any {
|
||||
|
@ -225,7 +225,7 @@ export class Terminal implements ITerminal {
|
||||
}
|
||||
if (!(server instanceof Server)) throw new Error("server should be normal server");
|
||||
const expGain = calculateHackingExpGain(server, player);
|
||||
const growth = processSingleServerGrowth(server, 1, player, server.cpuCores) - 1;
|
||||
const growth = processSingleServerGrowth(server, 25, player, server.cpuCores) - 1;
|
||||
this.print(
|
||||
`Available money on '${server.hostname}' grown by ${numeralWrapper.formatPercentage(
|
||||
growth,
|
||||
|
Loading…
Reference in New Issue
Block a user