diff --git a/src/PersonObjects/formulas/reputation.ts b/src/PersonObjects/formulas/reputation.ts index 09d353817..e0db746c5 100644 --- a/src/PersonObjects/formulas/reputation.ts +++ b/src/PersonObjects/formulas/reputation.ts @@ -25,26 +25,19 @@ export function getHackingWorkRepGain(p: IPlayer, f: Faction): number { export function getFactionSecurityWorkRepGain(p: IPlayer, f: Faction): number { const t = (0.9 * - (p.hacking / CONSTANTS.MaxSkillLevel + - p.strength / CONSTANTS.MaxSkillLevel + - p.defense / CONSTANTS.MaxSkillLevel + - p.dexterity / CONSTANTS.MaxSkillLevel + - p.agility / CONSTANTS.MaxSkillLevel + - p.intelligence / CONSTANTS.MaxSkillLevel)) / - 4.5; + (p.strength + p.defense + p.dexterity + p.agility + + (p.hacking + p.intelligence) * CalculateShareMult() + ) + ) / CONSTANTS.MaxSkillLevel / 4.5; return t * p.faction_rep_mult * mult(f) * p.getIntelligenceBonus(1); } export function getFactionFieldWorkRepGain(p: IPlayer, f: Faction): number { const t = (0.9 * - (p.hacking / CONSTANTS.MaxSkillLevel + - p.strength / CONSTANTS.MaxSkillLevel + - p.defense / CONSTANTS.MaxSkillLevel + - p.dexterity / CONSTANTS.MaxSkillLevel + - p.agility / CONSTANTS.MaxSkillLevel + - p.charisma / CONSTANTS.MaxSkillLevel + - p.intelligence / CONSTANTS.MaxSkillLevel)) / - 5.5; + (p.strength + p.defense + p.dexterity + p.agility + p.charisma + + (p.hacking + p.intelligence) * CalculateShareMult() + ) + ) / CONSTANTS.MaxSkillLevel / 5.5; return t * p.faction_rep_mult * mult(f) * p.getIntelligenceBonus(1); }