mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
Fixed company bug in v0.34.5
This commit is contained in:
parent
779ce25ae5
commit
0e6ef8b83f
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
@ -41143,7 +41143,7 @@ Industry.prototype.processProduct = function(marketCycles=1, product, corporatio
|
|||||||
//var businessFactor = 1 + (office.employeeProd[EmployeePositions.Business] / office.employeeProd["total"]);
|
//var businessFactor = 1 + (office.employeeProd[EmployeePositions.Business] / office.employeeProd["total"]);
|
||||||
var businessFactor = this.getBusinessFactor(office); //Business employee productivity
|
var businessFactor = this.getBusinessFactor(office); //Business employee productivity
|
||||||
var advertisingFactor = this.getAdvertisingFactors()[0]; //Awareness + popularity
|
var advertisingFactor = this.getAdvertisingFactors()[0]; //Awareness + popularity
|
||||||
var getMarketFactor = this.getMarketFactor(product); //Competition + demand
|
var marketFactor = this.getMarketFactor(product); //Competition + demand
|
||||||
var maxSell = Math.pow(product.rat, 0.9) * marketFactor * corporation.getSalesMultiplier() *
|
var maxSell = Math.pow(product.rat, 0.9) * marketFactor * corporation.getSalesMultiplier() *
|
||||||
markup * businessFactor * advertisingFactor;
|
markup * businessFactor * advertisingFactor;
|
||||||
var sellAmt;
|
var sellAmt;
|
||||||
|
@ -1372,7 +1372,7 @@ Industry.prototype.processProduct = function(marketCycles=1, product, corporatio
|
|||||||
//var businessFactor = 1 + (office.employeeProd[EmployeePositions.Business] / office.employeeProd["total"]);
|
//var businessFactor = 1 + (office.employeeProd[EmployeePositions.Business] / office.employeeProd["total"]);
|
||||||
var businessFactor = this.getBusinessFactor(office); //Business employee productivity
|
var businessFactor = this.getBusinessFactor(office); //Business employee productivity
|
||||||
var advertisingFactor = this.getAdvertisingFactors()[0]; //Awareness + popularity
|
var advertisingFactor = this.getAdvertisingFactors()[0]; //Awareness + popularity
|
||||||
var getMarketFactor = this.getMarketFactor(product); //Competition + demand
|
var marketFactor = this.getMarketFactor(product); //Competition + demand
|
||||||
var maxSell = Math.pow(product.rat, 0.9) * marketFactor * corporation.getSalesMultiplier() *
|
var maxSell = Math.pow(product.rat, 0.9) * marketFactor * corporation.getSalesMultiplier() *
|
||||||
markup * businessFactor * advertisingFactor;
|
markup * businessFactor * advertisingFactor;
|
||||||
var sellAmt;
|
var sellAmt;
|
||||||
|
Loading…
Reference in New Issue
Block a user