rv
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build / build (22) (push) Successful in 36s
				
			
		
			
				
	
				Build / build (20) (push) Successful in 1m0s
				
			
		
			
				
	
				Build / build (18) (push) Successful in 1m19s
				
			
		
			
				
	
				Build / build (18) (pull_request) Successful in 37s
				
			
		
			
				
	
				Build / build (20) (pull_request) Successful in 1m0s
				
			
		
			
				
	
				Build / build (22) (pull_request) Successful in 1m8s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build / build (22) (push) Successful in 36s
				
			Build / build (20) (push) Successful in 1m0s
				
			Build / build (18) (push) Successful in 1m19s
				
			Build / build (18) (pull_request) Successful in 37s
				
			Build / build (20) (pull_request) Successful in 1m0s
				
			Build / build (22) (pull_request) Successful in 1m8s
				
			This commit is contained in:
		
							parent
							
								
									48c604d1ec
								
							
						
					
					
						commit
						6358c168ce
					
				@ -546,8 +546,7 @@ export const addSentinelWeapon = (
 | 
			
		||||
export const addPowerSuit = (
 | 
			
		||||
    inventory: TInventoryDatabaseDocument,
 | 
			
		||||
    powersuitName: string,
 | 
			
		||||
    inventoryChanges: IInventoryChanges = {},
 | 
			
		||||
    configs: IItemConfig[] = []
 | 
			
		||||
    inventoryChanges: IInventoryChanges = {}
 | 
			
		||||
): IInventoryChanges => {
 | 
			
		||||
    const specialItems = getExalted(powersuitName);
 | 
			
		||||
    if (specialItems) {
 | 
			
		||||
@ -555,7 +554,7 @@ export const addPowerSuit = (
 | 
			
		||||
            addSpecialItem(inventory, specialItem, inventoryChanges);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    const suitIndex = inventory.Suits.push({ ItemType: powersuitName, Configs: configs, UpgradeVer: 101, XP: 0 }) - 1;
 | 
			
		||||
    const suitIndex = inventory.Suits.push({ ItemType: powersuitName, Configs: [], UpgradeVer: 101, XP: 0 }) - 1;
 | 
			
		||||
    inventoryChanges.Suits ??= [];
 | 
			
		||||
    inventoryChanges.Suits.push(inventory.Suits[suitIndex].toJSON<IEquipmentClient>());
 | 
			
		||||
    return inventoryChanges;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user