mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
fix broken party math again
This commit is contained in:
parent
673c2d9f82
commit
c929806307
@ -135,7 +135,7 @@ export class OfficeSpace {
|
||||
this.avgHap = this.maxHap;
|
||||
} else {
|
||||
// Each 5% multiplier gives an extra flat +1 to morale and happiness to make recovering from low morale easier.
|
||||
const increase = this.partyMult > 1 ? (1 - this.partyMult) * 20 : 0;
|
||||
const increase = this.partyMult > 1 ? (this.partyMult - 1) * 20 : 0;
|
||||
this.avgHap = ((this.avgHap - reduction) * perfMult + increase) * this.partyMult;
|
||||
this.avgMor = (this.avgMor * perfMult + increase) * this.partyMult;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user