fix HatchDate for 'premiumPurchase' of pet
This commit is contained in:
		
							parent
							
								
									2a7b9709e5
								
							
						
					
					
						commit
						8c3fd4461b
					
				@ -1087,7 +1087,7 @@ export const addKubrowPet = (
 | 
				
			|||||||
            HasCollar: true,
 | 
					            HasCollar: true,
 | 
				
			||||||
            PrintsRemaining: 3,
 | 
					            PrintsRemaining: 3,
 | 
				
			||||||
            Status: premiumPurchase ? Status.StatusStasis : Status.StatusIncubating,
 | 
					            Status: premiumPurchase ? Status.StatusStasis : Status.StatusIncubating,
 | 
				
			||||||
            HatchDate: new Date(Date.now() + 10 * unixTimesInMs.hour), // On live, this seems to be somewhat randomised so that the pet hatches 9~11 hours after start.
 | 
					            HatchDate: premiumPurchase ? new Date() : new Date(Date.now() + 10 * unixTimesInMs.hour), // On live, this seems to be somewhat randomised so that the pet hatches 9~11 hours after start.
 | 
				
			||||||
            IsMale: !!getRandomInt(0, 1),
 | 
					            IsMale: !!getRandomInt(0, 1),
 | 
				
			||||||
            Size: getRandomInt(70, 100) / 100,
 | 
					            Size: getRandomInt(70, 100) / 100,
 | 
				
			||||||
            DominantTraits: traits,
 | 
					            DominantTraits: traits,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user