mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
format & lint
This commit is contained in:
@@ -68,12 +68,7 @@ export const scaleWorkStats = (w: WorkStats, n: number, scaleMoney = true): Work
|
||||
};
|
||||
};
|
||||
|
||||
export const applyWorkStats = (
|
||||
target: IPerson,
|
||||
workStats: WorkStats,
|
||||
cycles: number,
|
||||
source: string,
|
||||
): WorkStats => {
|
||||
export const applyWorkStats = (target: IPerson, workStats: WorkStats, cycles: number, source: string): WorkStats => {
|
||||
const expStats = applyWorkStatsExp(target, workStats, cycles);
|
||||
const gains = {
|
||||
money: workStats.money * cycles,
|
||||
|
||||
Reference in New Issue
Block a user