Merge pull request #1938 from TheCoderJT/issue1906

#1906
This commit is contained in:
hydroflame 2021-12-16 12:29:05 -05:00 committed by GitHub
commit abc61b820c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -254,9 +254,9 @@ export class Terminal implements ITerminal {
const expGain = calculateHackingExpGain(server, player);
server.weaken(CONSTANTS.ServerWeakenAmount);
this.print(
`'${server.hostname}' security level weakened to ${server.hackDifficulty}. Gained ${numeralWrapper.formatExp(
expGain,
)} hacking exp.`,
`'${server.hostname}' security level weakened to ${server.hackDifficulty.toFixed(
3,
)} and Gained ${numeralWrapper.formatExp(expGain)} hacking exp.`,
);
}