feat(webui): add "Fully Level Up Helminth" #717

Merged
Sainan merged 2 commits from helminth-unlockall into main 2025-01-05 03:26:26 -08:00
Showing only changes of commit 9c09d4fb5c - Show all commits

View File

@ -228,7 +228,10 @@ export const infestedFoundryController: RequestHandler = async (req, res) => {
inventory.InfestedFoundry ??= {};
inventory.InfestedFoundry.XP ??= 0;
if (151875_00 > inventory.InfestedFoundry.XP) {
const recipeChanges = addInfestedFoundryXP(inventory.InfestedFoundry, 151875_00 - inventory.InfestedFoundry.XP)
const recipeChanges = addInfestedFoundryXP(
inventory.InfestedFoundry,
151875_00 - inventory.InfestedFoundry.XP
);
addRecipes(inventory, recipeChanges);
await inventory.save();
}