rm some stuff from netdef to make it work in-game

This commit is contained in:
Olivier Gagnon
2022-01-13 14:17:54 -05:00
parent ea2f2bd92b
commit 5126d72742
5 changed files with 29 additions and 30 deletions

View File

@@ -946,11 +946,6 @@ export function workForFaction(this: IPlayer, numCycles: number): boolean {
default:
break;
}
let favorMult = 1 + faction.favor / 100;
if (isNaN(favorMult)) {
favorMult = 1;
}
this.workRepGainRate *= favorMult;
this.workRepGainRate *= BitNodeMultipliers.FactionWorkRepGain;
//Cap the number of cycles being processed to whatever would put you at limit (20 hours)