mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
finishWeaken now shows 3 decimal places for hackDifficulty and improved the print message
This commit is contained in:
@@ -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.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user