feat: archgun arcane adapter #2940
@ -96,10 +96,15 @@ export const upgradesController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
                case "/Lotus/Types/Items/MiscItems/WeaponPrimaryArcaneUnlocker":
 | 
					                case "/Lotus/Types/Items/MiscItems/WeaponPrimaryArcaneUnlocker":
 | 
				
			||||||
                case "/Lotus/Types/Items/MiscItems/WeaponSecondaryArcaneUnlocker":
 | 
					                case "/Lotus/Types/Items/MiscItems/WeaponSecondaryArcaneUnlocker":
 | 
				
			||||||
                case "/Lotus/Types/Items/MiscItems/WeaponMeleeArcaneUnlocker":
 | 
					                case "/Lotus/Types/Items/MiscItems/WeaponMeleeArcaneUnlocker":
 | 
				
			||||||
                case "/Lotus/Types/Items/MiscItems/WeaponAmpArcaneUnlocker": {
 | 
					                case "/Lotus/Types/Items/MiscItems/WeaponAmpArcaneUnlocker":
 | 
				
			||||||
 | 
					                case "/Lotus/Types/Items/MiscItems/WeaponArchGunArcaneUnlocker": {
 | 
				
			||||||
                    const item = inventory[payload.ItemCategory].id(payload.ItemId.$oid)!;
 | 
					                    const item = inventory[payload.ItemCategory].id(payload.ItemId.$oid)!;
 | 
				
			||||||
                    item.Features ??= 0;
 | 
					                    item.Features ??= 0;
 | 
				
			||||||
 | 
					                    if (operation.OperationType == "UOT_ARCANE_UNLOCK_1") {
 | 
				
			||||||
 | 
					                        item.Features |= EquipmentFeatures.SECOND_ARCANE_SLOT;
 | 
				
			||||||
 | 
					                    } else {
 | 
				
			||||||
                        item.Features |= EquipmentFeatures.ARCANE_SLOT;
 | 
					                        item.Features |= EquipmentFeatures.ARCANE_SLOT;
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                case "/Lotus/Types/Items/MiscItems/ValenceAdapter": {
 | 
					                case "/Lotus/Types/Items/MiscItems/ValenceAdapter": {
 | 
				
			||||||
 | 
				
			|||||||
@ -25,6 +25,7 @@ export enum EquipmentFeatures {
 | 
				
			|||||||
    GRAVIMAG_INSTALLED = 4,
 | 
					    GRAVIMAG_INSTALLED = 4,
 | 
				
			||||||
    GILDED = 8,
 | 
					    GILDED = 8,
 | 
				
			||||||
    ARCANE_SLOT = 32,
 | 
					    ARCANE_SLOT = 32,
 | 
				
			||||||
 | 
					    SECOND_ARCANE_SLOT = 64,
 | 
				
			||||||
    INCARNON_GENESIS = 512,
 | 
					    INCARNON_GENESIS = 512,
 | 
				
			||||||
    VALENCE_SWAP = 1024
 | 
					    VALENCE_SWAP = 1024
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user