From 24ebae02fd12d0bfd67196368d02200703c433f8 Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Thu, 6 Feb 2025 19:23:32 +0100 Subject: [PATCH] fix(webui): max rank up all suits Fixes #914 --- static/webui/script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/webui/script.js b/static/webui/script.js index 6e331901..d012118f 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -606,6 +606,9 @@ function maxRankAllEquipment(categories) { } if (category === "Suits") { if ("exalted" in itemMap[item.ItemType]) { + if (!batchData["SpecialItems"]) { + batchData["SpecialItems"] = []; + } for (const exaltedType of itemMap[item.ItemType].exalted) { const exaltedItem = data["SpecialItems"].find(x => x.ItemType == exaltedType); if (exaltedItem) {