fix HatchDate for 'premiumPurchase' of pet
All checks were successful
Build / build (push) Successful in 45s
Build / build (pull_request) Successful in 2m22s

This commit is contained in:
Sainan 2025-06-07 22:39:01 +02:00
parent 2a7b9709e5
commit 8c3fd4461b

View File

@ -1087,7 +1087,7 @@ export const addKubrowPet = (
HasCollar: true,
PrintsRemaining: 3,
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),
Size: getRandomInt(70, 100) / 100,
DominantTraits: traits,