Files
bitburner-src/src/PersonObjects/Player/PlayerObjectAugmentationMethods.ts

15 lines
482 B
TypeScript

/** Augmentation-related methods for the Player class (PlayerObject) */
import { calculateEntropy } from "../Grafting/EntropyAccumulation";
import { staneksGift } from "../../CotMG/Helper";
import type { PlayerObject } from "./PlayerObject";
export function applyEntropy(this: PlayerObject, stacks = 1): void {
// Re-apply all multipliers
this.reapplyAllAugmentations();
this.reapplyAllSourceFiles();
this.mults = calculateEntropy(stacks);
staneksGift.updateMults();
}