SLEEVE: Fixed inconsistencies in how sleeve work rewards are handled. (#211)

This commit is contained in:
Snarling
2022-11-10 21:56:46 -05:00
committed by GitHub
parent 426ad5f296
commit c669e473d1
14 changed files with 58 additions and 73 deletions

View File

@@ -33,11 +33,11 @@ export class SleeveClassWork extends Work {
);
}
process(sleeve: Sleeve, cycles: number): number {
process(sleeve: Sleeve, cycles: number) {
const rate = this.calculateRates(sleeve);
applySleeveGains(sleeve, rate, cycles);
return 0;
}
APICopy(): Record<string, unknown> {
return {
type: this.type,