mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 12:57:06 +02:00
Added a few formulas to calculate work gains
This commit is contained in:
+3
-3
@@ -295,9 +295,9 @@ const Engine: {
|
||||
// No rep for gangs.
|
||||
if (Player.getGangName() === facName) continue;
|
||||
|
||||
const hRep = getHackingWorkRepGain(Player, faction);
|
||||
const sRep = getFactionSecurityWorkRepGain(Player, faction);
|
||||
const fRep = getFactionFieldWorkRepGain(Player, faction);
|
||||
const hRep = getHackingWorkRepGain(Player, faction.favor);
|
||||
const sRep = getFactionSecurityWorkRepGain(Player, faction.favor);
|
||||
const fRep = getFactionFieldWorkRepGain(Player, faction.favor);
|
||||
// can be infinite, doesn't matter.
|
||||
const reputationRate = Math.max(hRep, sRep, fRep) / Player.factions.length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user