mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
CORP: Revert mandatory coffeeparty (#333)
This commit is contained in:
@@ -112,10 +112,14 @@ export class OfficeSpace {
|
||||
if (this.totalEmployees > 0) {
|
||||
/** Multiplier for employee morale/happiness/energy based on company performance */
|
||||
const perfMult = Math.pow(
|
||||
0.999 - (corporation.funds < 0 ? 0.002 : 0) - (industry.lastCycleRevenue < 0 ? 0.002 : 0),
|
||||
1.002 -
|
||||
(corporation.funds < 0 ? 0.002 : 0) -
|
||||
(industry.lastCycleRevenue < industry.lastCycleExpenses ? 0.002 : 0),
|
||||
marketCycles,
|
||||
);
|
||||
/** Flat reduction per cycle */
|
||||
// Flat reduction per cycle.
|
||||
// This does not cause a noticable decrease (it's only -.001% per cycle), it only serves
|
||||
// to make the numbers slightly different between Happiness and Morale.
|
||||
const reduction = 0.001 * marketCycles;
|
||||
|
||||
if (this.autoCoffee) {
|
||||
|
||||
Reference in New Issue
Block a user