返回提交历史
Modified
static/webui/script.js
+1
-3
XFEstudio/XFESpaceNinjaServer
fix(webui): show message when max rank all warframes has nothing to do
1ad26db3
代码差异
1 个文件
+1
-3
@@ -675,14 +675,12 @@ function maxRankAllEquipment(categories) {
675
675
}
676
676
if (category === "Suits") {
677
677
if ("exalted" in itemMap[item.ItemType]) {
678
if (!batchData["SpecialItems"]) {
679
batchData["SpecialItems"] = [];
680
}
681
678
for (const exaltedType of itemMap[item.ItemType].exalted) {
682
679
const exaltedItem = data["SpecialItems"].find(x => x.ItemType == exaltedType);
683
680
if (exaltedItem) {
684
681
const exaltedCap = itemMap[exaltedType]?.type == "weapons" ? 800_000 : 1_600_000;
685
682
if (exaltedItem.XP < exaltedCap) {
683
batchData["SpecialItems"] ??= [];
686
684
batchData["SpecialItems"].push({
687
685
ItemId: { $oid: exaltedItem.ItemId.$oid },
688
686
XP: exaltedCap