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: add UpgradeType field to repaired railjack weapons (#2193)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2193 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

a9f1368c
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -1
Modified src/controllers/api/guildTechController.ts +2 -1
@@ -11,7 +11,7 @@ import {
11 11 scaleRequiredCount,
12 12 setGuildTechLogState
13 13 } from "@/src/services/guildService";
14 import { ExportDojoRecipes } from "warframe-public-export-plus";
14 import { ExportDojoRecipes, ExportRailjackWeapons } from "warframe-public-export-plus";
15 15 import { getAccountIdForRequest } from "@/src/services/loginService";
16 16 import {
17 17 addCrewShipWeaponSkin,
@@ -442,6 +442,7 @@ const finishComponentRepair = (
442 442 ...(category == "CrewShipWeaponSkins"
443 443 ? addCrewShipWeaponSkin(inventory, salvageItem.ItemType, salvageItem.UpgradeFingerprint)
444 444 : addEquipment(inventory, category, salvageItem.ItemType, {
445 UpgradeType: ExportRailjackWeapons[salvageItem.ItemType].defaultUpgrades?.[0].ItemType,
445 446 UpgradeFingerprint: salvageItem.UpgradeFingerprint
446 447 })),
447 448 ...occupySlot(inventory, InventorySlot.RJ_COMPONENT_AND_ARMAMENTS, false)