Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Gagnon committed May 25, 2022
2 parents bd67054 + 315c949 commit 6fef46d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Corporation/Product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ export class Product {
this.fin = true;

//Calculate properties
const progrMult = this.prog / 100;

const engrRatio = employeeProd[EmployeePositions.Engineer] / employeeProd["total"];
const mgmtRatio = employeeProd[EmployeePositions.Management] / employeeProd["total"];
const rndRatio = employeeProd[EmployeePositions.RandD] / employeeProd["total"];
Expand All @@ -141,7 +139,7 @@ export class Product {
const designMult = 1 + Math.pow(this.designCost, 0.1) / 100;
const balanceMult = 1.2 * engrRatio + 0.9 * mgmtRatio + 1.3 * rndRatio + 1.5 * opsRatio + busRatio;
const sciMult = 1 + Math.pow(industry.sciResearch.qty, industry.sciFac) / 800;
const totalMult = progrMult * balanceMult * designMult * sciMult;
const totalMult = balanceMult * designMult * sciMult;

this.qlt =
totalMult *
Expand Down

0 comments on commit 6fef46d

Please sign in to comment.