mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 20:46:14 -04:00
Build 29068588
This commit is contained in:
parent
c6665d9b0e
commit
269f1b8b94
8 changed files with 26 additions and 13 deletions
|
@ -314,7 +314,7 @@ export function getLevelUnlockCondition(levelIndex: number) {
|
|||
(a, b) => hashCode(levelIndex + a.id) - hashCode(levelIndex + b.id),
|
||||
);
|
||||
|
||||
const length = Math.ceil(levelIndex / 30);
|
||||
const length = Math.min(3, Math.ceil(levelIndex / 30));
|
||||
required = possibletargets.slice(0, length);
|
||||
forbidden = possibletargets.slice(length, length + length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue