XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix(webui): show message when max rank all warframes has nothing to do

1ad26db3
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +1 -3
Modified static/webui/script.js +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