allow hatching potions to have a release date

This commit is contained in:
Phillip Thelen
2024-06-10 14:24:59 +02:00
parent 89a3ac3dde
commit 3333f8f0f5
7 changed files with 39 additions and 22 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import allEggs from '../content/eggs';
import { drops as hatchingPotions } from '../content/hatching-potions';
import allPotions from '../content/hatching-potions';
import randomVal from '../libs/randomVal';
export default function firstDrops (user) {
const eggDrop = randomVal(allEggs.drops);
const potionDrop = randomVal(hatchingPotions);
const potionDrop = randomVal(allPotions.drops);
user.items.eggs = {
...user.items.eggs,