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

feat: handle installation of aura & stance formas (#264)

41f4065a
Sainan <sainan@calamity.gg>
提交于

代码差异

1 个文件 +2 -0
Modified src/controllers/api/upgradesController.ts +2 -0
@@ -58,6 +58,8 @@ export const upgradesController: RequestHandler = async (req, res) => {
58 58 }
59 59 break;
60 60 case "/Lotus/Types/Items/MiscItems/Forma":
61 case "/Lotus/Types/Items/MiscItems/FormaAura":
62 case "/Lotus/Types/Items/MiscItems/FormaStance":
61 63 for (const item of inventory[payload.ItemCategory as TGenericItemKey] as IGenericItemDatabase[]) {
62 64 if (item._id.toString() == payload.ItemId.$oid) {
63 65 item.XP = 0;