feat: opening relics in endless missions #713

Merged
Sainan merged 3 commits from open-relic into main 2025-01-05 20:35:36 -08:00
Showing only changes of commit 8e74609320 - Show all commits

View File

@ -53,7 +53,7 @@ export const getRandomWeightedReward2 = (
for (const entry of pool) {
resultPool.push({
type: entry.type,
itemCount: 1,
itemCount: entry.itemCount,
probability: weights[entry.rarity] / rarityCounts[entry.rarity]
});
}