feat: handle installation of aura forma

This commit is contained in:
Sainan 2024-06-02 13:47:30 +02:00
parent ae8913931c
commit d33826fc65

View File

@ -58,6 +58,7 @@ export const upgradesController: RequestHandler = async (req, res) => {
}
break;
case "/Lotus/Types/Items/MiscItems/Forma":
case "/Lotus/Types/Items/MiscItems/FormaAura":
for (const item of inventory[payload.ItemCategory as TGenericItemKey] as IGenericItemDatabase[]) {
if (item._id.toString() == payload.ItemId.$oid) {
item.XP = 0;