Polish entropy

- Also adds DevMenu entry
This commit is contained in:
nickofolas
2022-03-19 13:59:34 -05:00
parent c92b159580
commit 4c422347d4
4 changed files with 81 additions and 9 deletions

View File

@@ -28,6 +28,10 @@ export function hasAugmentation(this: IPlayer, aug: string | Augmentation, insta
}
export function applyEntropy(this: IPlayer, stacks = 1): void {
// Re-apply all multipliers
this.reapplyAllAugmentations();
this.reapplyAllSourceFiles();
const newMultipliers = calculateEntropy(this, stacks);
for (const [mult, val] of Object.entries(newMultipliers)) {
this.setMult(mult, val);