mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Merge pull request #2782 from dwRchyngqxs/hacking_exp_mult
Fixed player hacking exp multiplier application
This commit is contained in:
commit
7e81575cb5
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user