mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 14:06:16 -04:00
Automatic deploy 29007301
This commit is contained in:
parent
1cec9a7a0c
commit
e4a0d149ab
6 changed files with 2551 additions and 9 deletions
|
@ -19,7 +19,7 @@ allLevels = allLevels.filter(l => {
|
|||
return true
|
||||
})
|
||||
allLevels.forEach((l, li) => {
|
||||
l.threshold = li < 8 ? 0 : Math.round(Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 10000) * (li))
|
||||
l.threshold = li < 8 ? 0 : Math.round(Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 5000) * (li))
|
||||
l.sortKey = (Math.random() + 3) / 3.5 * l.bricks.filter(i => i).length
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue