From 41f4065a390fe7b01f2a17d75ea065a9d914e967 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 2 Jun 2024 14:31:20 +0200 Subject: [PATCH] feat: handle installation of aura & stance formas (#264) --- src/controllers/api/upgradesController.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/api/upgradesController.ts b/src/controllers/api/upgradesController.ts index 09592daf1..a90d02b85 100644 --- a/src/controllers/api/upgradesController.ts +++ b/src/controllers/api/upgradesController.ts @@ -58,6 +58,8 @@ export const upgradesController: RequestHandler = async (req, res) => { } break; case "/Lotus/Types/Items/MiscItems/Forma": + case "/Lotus/Types/Items/MiscItems/FormaAura": + case "/Lotus/Types/Items/MiscItems/FormaStance": for (const item of inventory[payload.ItemCategory as TGenericItemKey] as IGenericItemDatabase[]) { if (item._id.toString() == payload.ItemId.$oid) { item.XP = 0;