From 65126fa46491d92935a8bafbd85dc2bcacc30b50 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 1 Mar 2024 18:37:07 -0500 Subject: [PATCH] Oops --- src/ui/egg-gacha-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/egg-gacha-ui-handler.ts b/src/ui/egg-gacha-ui-handler.ts index 2c2b823ec8f..4f771fa19e5 100644 --- a/src/ui/egg-gacha-ui-handler.ts +++ b/src/ui/egg-gacha-ui-handler.ts @@ -343,7 +343,7 @@ export default class EggGachaUiHandler extends MessageUiHandler { eggs = []; const tierValueOffset = this.gachaCursor === GachaType.LEGENDARY ? 1 : 0; const tiers = new Array(pullCount).fill(null).map(() => { - const tierValue = Utils.randInt(1024); + const tierValue = Utils.randInt(256); return tierValue >= 52 + tierValueOffset ? EggTier.COMMON : tierValue + tierValueOffset >= 8 ? EggTier.GREAT : tierValue >= 1 + tierValueOffset ? EggTier.ULTRA : EggTier.MASTER; }); if (pullCount >= 25 && !tiers.filter(t => t >= EggTier.ULTRA).length)