remove progMult as it is redundant

feature/3737

File List:
src/Corporation/Product.ts
This commit is contained in:
phyzical 2022-05-25 17:09:36 +08:00
parent 31fe43715e
commit 2e7e5ad917
No known key found for this signature in database
GPG Key ID: 91E97494BCA22BCF

@ -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"];
@ -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 *