mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-15 03:50:12 +02:00
BB action rewards now tied to who does the action
This commit is contained in:
@@ -61,7 +61,8 @@ export class SleeveBladeburnerWork extends Work {
|
||||
if (!exp) throw new Error(`Somehow there was no exp for action ${this.actionType} ${this.actionName}`);
|
||||
applySleeveGains(player, sleeve, exp, 1);
|
||||
}
|
||||
if (retValue.money > 0) player.gainMoney(retValue.money, "sleeves");
|
||||
player.gainMoney(retValue.money, "sleeves");
|
||||
player.gainStats(retValue);
|
||||
this.cyclesWorked -= this.cyclesNeeded(player, sleeve);
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -64,7 +64,7 @@ export class SleeveCrimeWork extends Work {
|
||||
APICopy(): Record<string, unknown> {
|
||||
return {
|
||||
type: this.type,
|
||||
crimeType : this.crimeType,
|
||||
crimeType: this.crimeType,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user