Merge pull request #3562 from nickofolas/fix/infiltration-rep-reward

INFILTRATION: Fix rep reward being substantially higher than intended
This commit is contained in:
hydroflame 2022-04-26 11:11:59 -04:00 committed by GitHub
commit 633d8b582b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,9 +31,9 @@ export function calculateTradeInformationRepReward(
const levelBonus = maxLevel * Math.pow(1.01, maxLevel); const levelBonus = maxLevel * Math.pow(1.01, maxLevel);
return ( return (
Math.pow(reward + 1, 2) * Math.pow(reward + 1, 1.1) *
Math.pow(difficulty, 3) * Math.pow(difficulty, 1.2) *
3e3 * 30 *
levelBonus * levelBonus *
(player.hasAugmentation(AugmentationNames.WKSharmonizer, true) ? 1.5 : 1) * (player.hasAugmentation(AugmentationNames.WKSharmonizer, true) ? 1.5 : 1) *
BitNodeMultipliers.InfiltrationMoney BitNodeMultipliers.InfiltrationMoney