feat: installation of valence adapter (#1240)
Reviewed-on: OpenWF/SpaceNinjaServer#1240
This commit is contained in:
parent
1b4aee0b90
commit
9150d036d7
@ -98,6 +98,12 @@ export const upgradesController: RequestHandler = async (req, res) => {
|
|||||||
item.Features |= EquipmentFeatures.ARCANE_SLOT;
|
item.Features |= EquipmentFeatures.ARCANE_SLOT;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "/Lotus/Types/Items/MiscItems/ValenceAdapter": {
|
||||||
|
const item = inventory[payload.ItemCategory].id(payload.ItemId.$oid)!;
|
||||||
|
item.Features ??= 0;
|
||||||
|
item.Features |= EquipmentFeatures.VALENCE_SWAP;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case "/Lotus/Types/Items/MiscItems/Forma":
|
case "/Lotus/Types/Items/MiscItems/Forma":
|
||||||
case "/Lotus/Types/Items/MiscItems/FormaUmbra":
|
case "/Lotus/Types/Items/MiscItems/FormaUmbra":
|
||||||
case "/Lotus/Types/Items/MiscItems/FormaAura":
|
case "/Lotus/Types/Items/MiscItems/FormaAura":
|
||||||
|
@ -106,7 +106,8 @@ export enum EquipmentFeatures {
|
|||||||
GRAVIMAG_INSTALLED = 4,
|
GRAVIMAG_INSTALLED = 4,
|
||||||
GILDED = 8,
|
GILDED = 8,
|
||||||
ARCANE_SLOT = 32,
|
ARCANE_SLOT = 32,
|
||||||
INCARNON_GENESIS = 512
|
INCARNON_GENESIS = 512,
|
||||||
|
VALENCE_SWAP = 1024
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IEquipmentDatabase {
|
export interface IEquipmentDatabase {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user