mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
fix int exp gain in sing func
This commit is contained in:
parent
275c740a16
commit
ded230eaaf
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)) {
|
if (player.hasProgram(item.program)) {
|
||||||
workerScript.log("purchaseProgram", `You already have the '${item.program}' program`);
|
workerScript.log("purchaseProgram", `You already have the '${item.program}' program`);
|
||||||
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -540,6 +539,7 @@ export function NetscriptSingularity(
|
|||||||
"purchaseProgram",
|
"purchaseProgram",
|
||||||
`You have purchased the '${item.program}' program. The new program can be found on your home computer.`,
|
`You have purchased the '${item.program}' program. The new program can be found on your home computer.`,
|
||||||
);
|
);
|
||||||
|
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
getCurrentServer: function (): any {
|
getCurrentServer: function (): any {
|
||||||
|
Loading…
Reference in New Issue
Block a user