Merge pull request #4060 from ezylot/patch-2

INFILTRATION: Corrected ns formula for infiltration rewards
This commit is contained in:
hydroflame 2022-08-29 11:04:11 -03:00 committed by GitHub
commit 6fc729ddfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,9 +38,9 @@ export function NetscriptInfiltration(): InternalAPI<IInfiltration> {
return { return {
location: JSON.parse(JSON.stringify(location)), location: JSON.parse(JSON.stringify(location)),
reward: { reward: {
tradeRep: calculateTradeInformationRepReward(player, reward, maxLevel, difficulty), tradeRep: calculateTradeInformationRepReward(player, reward, maxLevel, startingSecurityLevel),
sellCash: calculateSellInformationCashReward(player, reward, maxLevel, difficulty), sellCash: calculateSellInformationCashReward(player, reward, maxLevel, startingSecurityLevel),
SoARep: calculateInfiltratorsRepReward(player, Factions[FactionNames.ShadowsOfAnarchy], difficulty), SoARep: calculateInfiltratorsRepReward(player, Factions[FactionNames.ShadowsOfAnarchy], startingSecurityLevel),
}, },
difficulty: difficulty, difficulty: difficulty,
}; };