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

SpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/SpaceNinjaServer

fix: handle crafting of archwing summon for versions prior to U39 (#2358)

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

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

代码差异

1 个文件 +33 -0
Modified src/services/itemDataService.ts +33 -0
@@ -45,6 +45,39 @@ export type WeaponTypeInternal =
45 45 | "SpecialItems";
46 46
47 47 export const getRecipe = (uniqueName: string): IRecipe | undefined => {
48 // Handle crafting of archwing summon for versions prior to 39.0.0 as this blueprint was removed then.
49 if (uniqueName == "/Lotus/Types/Recipes/EidolonRecipes/OpenArchwingSummonBlueprint") {
50 return {
51 resultType: "/Lotus/Types/Restoratives/OpenArchwingSummon",
52 buildPrice: 7500,
53 buildTime: 1800,
54 skipBuildTimePrice: 10,
55 consumeOnUse: false,
56 num: 1,
57 codexSecret: false,
58 alwaysAvailable: true,
59 ingredients: [
60 {
61 ItemType: "/Lotus/Types/Gameplay/Eidolon/Resources/IraditeItem",
62 ItemCount: 50
63 },
64 {
65 ItemType: "/Lotus/Types/Gameplay/Eidolon/Resources/GrokdrulItem",
66 ItemCount: 50
67 },
68 {
69 ItemType: "/Lotus/Types/Items/Fish/Eidolon/FishParts/EidolonFishOilItem",
70 ItemCount: 30
71 },
72 {
73 ItemType: "/Lotus/Types/Items/MiscItems/Circuits",
74 ItemCount: 600
75 }
76 ],
77 excludeFromMarket: true
78 };
79 }
80
48 81 return ExportRecipes[uniqueName];
49 82 };
50 83