CORPORATION: Fix additive value in party result message (#793) (#794)

This commit is contained in:
aschmider
2023-09-12 09:56:59 +02:00
committed by GitHub
parent c4482a70f9
commit a6ff0d3e14
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ export class OfficeSpace {
if (this.autoParty) {
this.avgMorale = this.maxMorale;
} else {
// Each 5% multiplier gives an extra flat +1 to morale to make recovering from low morale easier.
// Each 10% multiplier gives an extra flat +1 to morale to make recovering from low morale easier.
const increase = this.partyMult > 1 ? (this.partyMult - 1) * 10 : 0;
this.avgMorale = ((this.avgMorale - reduction * Math.random()) * perfMult + increase) * this.partyMult;
}