mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 06:03:50 +01:00
Sleeve crime gain bitnode multiplier fix
This commit is contained in:
parent
9c579e294a
commit
84e2ae78c3
@ -7,6 +7,7 @@ import { Crimes } from "../../../Crime/Crimes";
|
|||||||
import { Crime } from "../../../Crime/Crime";
|
import { Crime } from "../../../Crime/Crime";
|
||||||
import { newWorkStats, scaleWorkStats, WorkStats } from "../../../Work/WorkStats";
|
import { newWorkStats, scaleWorkStats, WorkStats } from "../../../Work/WorkStats";
|
||||||
import { CONSTANTS } from "../../../Constants";
|
import { CONSTANTS } from "../../../Constants";
|
||||||
|
import { BitNodeMultipliers } from "../../../BitNode/BitNodeMultipliers";
|
||||||
|
|
||||||
export const isSleeveCrimeWork = (w: Work | null): w is SleeveCrimeWork => w !== null && w.type === WorkType.CRIME;
|
export const isSleeveCrimeWork = (w: Work | null): w is SleeveCrimeWork => w !== null && w.type === WorkType.CRIME;
|
||||||
|
|
||||||
@ -27,14 +28,14 @@ export class SleeveCrimeWork extends Work {
|
|||||||
getExp(): WorkStats {
|
getExp(): WorkStats {
|
||||||
const crime = this.getCrime();
|
const crime = this.getCrime();
|
||||||
return newWorkStats({
|
return newWorkStats({
|
||||||
money: crime.money,
|
money: crime.money*BitNodeMultipliers.CrimeMoney,
|
||||||
hackExp: crime.hacking_exp,
|
hackExp: crime.hacking_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
strExp: crime.strength_exp,
|
strExp: crime.strength_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
defExp: crime.defense_exp,
|
defExp: crime.defense_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
dexExp: crime.dexterity_exp,
|
dexExp: crime.dexterity_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
agiExp: crime.agility_exp,
|
agiExp: crime.agility_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
chaExp: crime.charisma_exp,
|
chaExp: crime.charisma_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
intExp: crime.intelligence_exp,
|
intExp: crime.intelligence_exp*BitNodeMultipliers.CrimeExpGain,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user