返回提交历史
Modified
src/controllers/api/claimCompletedRecipeController.ts
+16
-0
XFEstudio/XFESpaceNinjaServer
feat: hunhow trinket craft (#4369)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4369 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
b7455522
代码差异
1 个文件
+16
-0
@@ -312,6 +312,22 @@ const claimCompletedRecipe = async (
312
312
ItemType: "/Lotus/Weapons/Tenno/Melee/Swords/UmbraKatana/UmbraKatana",
313
313
XP: 450_000
314
314
});
315
} else if (
316
recipe.resultType == "/Lotus/Types/JadeShadowsPart2Mission/Gameplay/Resources/HunhowTrinketMiscItem"
317
) {
318
combineInventoryChanges(
319
resp.InventoryChanges,
320
await addItem(
321
inventory,
322
"/Lotus/Weapons/Tenno/Melee/Swords/PrimeWar/PrimeWarWeapon",
323
recipe.num,
324
true,
325
undefined,
326
pendingRecipe.TargetFingerprint,
327
undefined,
328
buildLabel
329
)
330
);
315
331
} else {
316
332
combineInventoryChanges(
317
333
resp.InventoryChanges,