formatter

This commit is contained in:
tyasuh.taeragan@gmail.com
2023-02-19 05:27:09 -05:00
parent 012c5d4f86
commit b6433786e3
2 changed files with 5 additions and 2 deletions
@@ -12,7 +12,10 @@ export class SleeveRecoveryWork extends Work {
}
process(sleeve: Sleeve, cycles: number) {
sleeve.shock = Math.max(0, sleeve.shock - 0.0002 * calculateIntelligenceBonus(sleeve.skills.intelligence, .75)* cycles);
sleeve.shock = Math.max(
0,
sleeve.shock - 0.0002 * calculateIntelligenceBonus(sleeve.skills.intelligence, 0.75) * cycles,
);
if (sleeve.shock <= 0) sleeve.stopWork();
}