mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
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:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user