mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
parent
c4482a70f9
commit
a6ff0d3e14
@ -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;
|
||||
}
|
||||
|
@ -38,8 +38,8 @@ export function ThrowPartyModal(props: IProps): React.ReactElement {
|
||||
dialogBoxCreate("You don't have enough company funds to throw a party!");
|
||||
} else {
|
||||
const mult = ThrowParty(corp, props.office, cost);
|
||||
// Each 5% multiplier gives an extra flat +1 to morale to make recovering from low morale easier.
|
||||
const increase = mult > 1 ? (mult - 1) * 0.2 : 0;
|
||||
// Each 10% multiplier gives an extra flat +1 to morale to make recovering from low morale easier.
|
||||
const increase = mult > 1 ? (mult - 1) * 0.1 : 0;
|
||||
|
||||
if (mult > 0) {
|
||||
dialogBoxCreate(
|
||||
|
Loading…
Reference in New Issue
Block a user