feat: also handle DailyFocus on daily reset
This commit is contained in:
		
							parent
							
								
									fb3e027372
								
							
						
					
					
						commit
						3568ba0150
					
				@ -46,6 +46,7 @@ export const inventoryController: RequestHandler = async (request, response) =>
 | 
				
			|||||||
        inventory.DailyAffiliationKahl = 16000 + inventory.PlayerLevel * 500;
 | 
					        inventory.DailyAffiliationKahl = 16000 + inventory.PlayerLevel * 500;
 | 
				
			||||||
        inventory.DailyAffiliationCavia = 16000 + inventory.PlayerLevel * 500;
 | 
					        inventory.DailyAffiliationCavia = 16000 + inventory.PlayerLevel * 500;
 | 
				
			||||||
        inventory.DailyAffiliationHex = 16000 + inventory.PlayerLevel * 500;
 | 
					        inventory.DailyAffiliationHex = 16000 + inventory.PlayerLevel * 500;
 | 
				
			||||||
 | 
					        inventory.DailyFocus = 250000 + inventory.PlayerLevel * 5000;
 | 
				
			||||||
        await inventory.save();
 | 
					        await inventory.save();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user