feat: handle acquisition of booster packs #452

Merged
Sainan merged 5 commits from rng into main 2024-07-03 03:30:32 -07:00
Showing only changes of commit 35208d3f07 - Show all commits

View File

@ -119,7 +119,7 @@ const getRotations = (rotationCount: number): number[] => {
};
const getRandomRewardByChance = (pool: IReward[]): IRngResult | undefined => {
return getRandomReward(pool as IRngResult[]); // As of TS 5.5, we will be able to handle this with .filter instead of 'as'.
return getRandomReward(pool as IRngResult[]);
};
const creditBundles: Record<string, number> = {