mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 12:15:06 -04:00
Build 29060255
This commit is contained in:
parent
5ce309d59f
commit
b7dacaba0a
11 changed files with 143 additions and 184 deletions
|
@ -5,6 +5,7 @@ import {
|
|||
// countBricksAbove,
|
||||
// countBricksBelow,
|
||||
currentLevelInfo,
|
||||
isMovingWhilePassiveIncome,
|
||||
isPickyEatingPossible,
|
||||
isTelekinesisActive,
|
||||
isYoyoActive,
|
||||
|
@ -542,13 +543,7 @@ export function renderAllBricks() {
|
|||
const redBorderOnBricksWithWrongColor =
|
||||
hasCombo && gameState.perks.picky_eater && isPickyEatingPossible(gameState);
|
||||
|
||||
const redColorOnAllBricks = !!(
|
||||
gameState.lastPuckMove &&
|
||||
gameState.perks.passive_income &&
|
||||
hasCombo &&
|
||||
gameState.lastPuckMove >
|
||||
gameState.levelTime - 250 * gameState.perks.passive_income
|
||||
);
|
||||
const redColorOnAllBricks = hasCombo && isMovingWhilePassiveIncome(gameState);
|
||||
|
||||
const redRowReach = reachRedRowIndex(gameState);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue