fix: bump DuviriInfo.NumCompletions when completing one of its modes (#2698)
Closes #2697 Reviewed-on: OpenWF/SpaceNinjaServer#2698 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									1ead04ddc1
								
							
						
					
					
						commit
						78b8cf4c77
					
				@ -801,6 +801,7 @@ export const addMissionInventoryUpdates = async (
 | 
				
			|||||||
                // Duviri cave offers (generated with the duviri seed) change after completing one of its game modes (not when aborting).
 | 
					                // Duviri cave offers (generated with the duviri seed) change after completing one of its game modes (not when aborting).
 | 
				
			||||||
                if (inventoryUpdates.MissionStatus != "GS_QUIT") {
 | 
					                if (inventoryUpdates.MissionStatus != "GS_QUIT") {
 | 
				
			||||||
                    inventory.DuviriInfo!.Seed = generateRewardSeed();
 | 
					                    inventory.DuviriInfo!.Seed = generateRewardSeed();
 | 
				
			||||||
 | 
					                    inventory.DuviriInfo!.NumCompletions += 1;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user