mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-28 20:07:04 +02:00
Sleeve work type changes (#412)
This commit is contained in:
@@ -7,9 +7,7 @@ export const isSleeveRecoveryWork = (w: Work | null): w is SleeveRecoveryWork =>
|
||||
w !== null && w.type === WorkType.RECOVERY;
|
||||
|
||||
export class SleeveRecoveryWork extends Work {
|
||||
constructor() {
|
||||
super(WorkType.RECOVERY);
|
||||
}
|
||||
type: WorkType.RECOVERY = WorkType.RECOVERY;
|
||||
|
||||
process(sleeve: Sleeve, cycles: number) {
|
||||
sleeve.shock = Math.max(
|
||||
|
||||
Reference in New Issue
Block a user