mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
Employee salary no longer increase
This commit is contained in:
parent
9b0726ca9a
commit
90090f8273
18
dist/vendor.bundle.js
vendored
18
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -61,13 +61,6 @@ export class Employee {
|
|||||||
det = gain * Math.random();
|
det = gain * Math.random();
|
||||||
this.exp += gain;
|
this.exp += gain;
|
||||||
|
|
||||||
// Employee salaries slowly go up over time
|
|
||||||
this.cyclesUntilRaise -= marketCycles;
|
|
||||||
if (this.cyclesUntilRaise <= 0) {
|
|
||||||
this.sal += CorporationConstants.EmployeeRaiseAmount;
|
|
||||||
this.cyclesUntilRaise += CorporationConstants.CyclesPerEmployeeRaise;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Training
|
//Training
|
||||||
const trainingEff = gain * Math.random();
|
const trainingEff = gain * Math.random();
|
||||||
if (this.pos === EmployeePositions.Training) {
|
if (this.pos === EmployeePositions.Training) {
|
||||||
|
Loading…
Reference in New Issue
Block a user