fix(webui): max rank up all suits
All checks were successful
Build / build (18) (pull_request) Successful in 35s
Build / build (20) (pull_request) Successful in 56s
Build / build (22) (pull_request) Successful in 32s

Fixes #914
This commit is contained in:
AMelonInsideLemon 2025-02-06 19:23:32 +01:00
parent 01d369bf38
commit 24ebae02fd

View File

@ -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) {