improved rng

This commit is contained in:
MasterGordon 2024-10-18 18:17:30 +02:00
parent 0dca37f035
commit ea3a3dd46f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export const mainWithSpecials = (
const [main, ...specials] = sprites; const [main, ...specials] = sprites;
return [ return [
{ weight: 1, sprite: main }, { weight: 1, sprite: main },
...specials.map((sprite) => ({ weight: 0.3, sprite })), ...specials.map((sprite) => ({ weight: 0.05, sprite })),
]; ];
}; };