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

View File

@@ -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;
}
/**