mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-05 03:07:14 -04:00
wip
This commit is contained in:
parent
892f800107
commit
6c506affc4
19 changed files with 137 additions and 87 deletions
|
@ -61,7 +61,7 @@ export function newGameState(params: RunParams): GameState {
|
|||
}
|
||||
|
||||
randomGift =
|
||||
(isOptionOn("easy") && "slow_down") ||
|
||||
(isOptionOn("kid") && "slow_down") ||
|
||||
giftable[Math.floor(Math.random() * giftable.length)].id;
|
||||
|
||||
perks[randomGift] = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue