Fixed player hacking exp multiplier application

Fixing the application of player's exp multiplier as indicated in #2260,
the game balance will need to get re-adjusted in consequence.
This commit is contained in:
qcorradi 2022-01-23 20:30:36 +01:00
parent 07fe3c1906
commit 341975ee09

@ -34,9 +34,9 @@ export function calculateHackingExpGain(server: Server, player: IPlayer): number
server.baseDifficulty = server.hackDifficulty; server.baseDifficulty = server.hackDifficulty;
} }
let expGain = baseExpGain; let expGain = baseExpGain;
expGain += server.baseDifficulty * player.hacking_exp_mult * diffFactor; expGain += server.baseDifficulty * diffFactor;
return expGain * BitNodeMultipliers.HackExpGain; return expGain * player.hacking_exp_mult * BitNodeMultipliers.HackExpGain;
} }
/** /**