mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
15 lines
482 B
TypeScript
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();
|
|
}
|