Skip to content

Commit

Permalink
raffles: normalize spawn rates
Browse files Browse the repository at this point in the history
  • Loading branch information
GGonryun committed Jul 26, 2024
1 parent 232b6a4 commit 9e01522
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/charity/pages/api/cron/spawn-raffle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const prizes = {
'4': {
itemId: '4',
premium: true,
numWinners: [1, 2, 2, 3, 3],
numWinners: [1, 2, 3],
imageUrl: [
'https://cdn.charity.games/_raffles/random_steam_key_1.png',
'https://cdn.charity.games/_raffles/random_steam_key_2.png',
Expand Down Expand Up @@ -135,8 +135,6 @@ const generateRaffle = (): Prisma.RaffleUncheckedCreateInput => {
'4',
'4',
'4',
'4',
'4',
];

const prizeId = randomArrayElement(dropChance);
Expand Down

0 comments on commit 9e01522

Please sign in to comment.