Merge pull request #2782 from dwRchyngqxs/hacking_exp_mult

Fixed player hacking exp multiplier application
This commit is contained in:
hydroflame 2022-01-26 00:48:09 -05:00 committed by GitHub
commit 7e81575cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,9 +34,9 @@ export function calculateHackingExpGain(server: Server, player: IPlayer): number
server.baseDifficulty = server.hackDifficulty;
}
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;
}
/**