forked from OpenWF/SpaceNinjaServer
		
	fix: 5 disinfection progress per mission until 95 for Technocyte Coda (#2705)
Co-authored-by: AlexisinGit <136088944+AlexisinGit@users.noreply.github.com> Reviewed-on: OpenWF/SpaceNinjaServer#2705 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AlexisinGit <alexisingit@noreply.localhost> Co-committed-by: AlexisinGit <alexisingit@noreply.localhost>
This commit is contained in:
		
							parent
							
								
									c9cc1fa089
								
							
						
					
					
						commit
						1ade801e7c
					
				@ -1417,9 +1417,12 @@ export const addMissionRewards = async (
 | 
			
		||||
 | 
			
		||||
            if (inventory.Nemesis.Faction == "FC_INFESTATION") {
 | 
			
		||||
                inventory.Nemesis.MissionCount += 1;
 | 
			
		||||
                inventory.Nemesis.HenchmenKilled = Math.min(inventory.Nemesis.HenchmenKilled + 5, 95); // 5 progress per mission until 95
 | 
			
		||||
 | 
			
		||||
                inventoryChanges.Nemesis.MissionCount ??= 0;
 | 
			
		||||
                inventoryChanges.Nemesis.MissionCount += 1;
 | 
			
		||||
                inventoryChanges.Nemesis.HenchmenKilled ??= 0;
 | 
			
		||||
                inventoryChanges.Nemesis.HenchmenKilled = inventory.Nemesis.HenchmenKilled;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            inventoryChanges.Nemesis.InfNodes = inventory.Nemesis.InfNodes;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user