mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 07:07:50 +02:00
commit1
This commit is contained in:
@@ -24,9 +24,9 @@ export class SleeveClassWork extends Work {
|
||||
this.location = params?.location ?? LocationName.Sector12RothmanUniversity;
|
||||
}
|
||||
|
||||
calculateRates(player: IPlayer, sleeve: Sleeve): WorkStats {
|
||||
calculateRates(sleeve: Sleeve): WorkStats {
|
||||
return scaleWorkStats(
|
||||
calculateClassEarnings(player, sleeve, this.classType, this.location),
|
||||
calculateClassEarnings(sleeve, this.classType, this.location),
|
||||
sleeve.shockBonus(),
|
||||
false,
|
||||
);
|
||||
@@ -38,9 +38,9 @@ export class SleeveClassWork extends Work {
|
||||
);
|
||||
}
|
||||
|
||||
process(player: IPlayer, sleeve: Sleeve, cycles: number): number {
|
||||
const rate = this.calculateRates(player, sleeve);
|
||||
applySleeveGains(player, sleeve, rate, cycles);
|
||||
process(sleeve: Sleeve, cycles: number): number {
|
||||
const rate = this.calculateRates(sleeve);
|
||||
applySleeveGains(sleeve, rate, cycles);
|
||||
return 0;
|
||||
}
|
||||
APICopy(): Record<string, unknown> {
|
||||
|
||||
Reference in New Issue
Block a user