feat: handle installation of aura & stance formas (#264)
This commit is contained in:
		
							parent
							
								
									ae8913931c
								
							
						
					
					
						commit
						41f4065a39
					
				@ -58,6 +58,8 @@ export const upgradesController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
            case "/Lotus/Types/Items/MiscItems/Forma":
 | 
					            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[]) {
 | 
					                for (const item of inventory[payload.ItemCategory as TGenericItemKey] as IGenericItemDatabase[]) {
 | 
				
			||||||
                    if (item._id.toString() == payload.ItemId.$oid) {
 | 
					                    if (item._id.toString() == payload.ItemId.$oid) {
 | 
				
			||||||
                        item.XP = 0;
 | 
					                        item.XP = 0;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user