From d3c946dd273d47308f78abaf0e8e997f99c87f90 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 05:47:39 +0200 Subject: [PATCH] Reduce chance of salto --- animeCat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index b1ec7aa..f6e96c8 100644 --- a/animeCat.js +++ b/animeCat.js @@ -316,7 +316,7 @@ _runJoyAnimation(onFinish) { img.src = this.images.joy || this.images.default; // 20% Chance auf Salto! - const salto = Math.random() < 1; + const salto = Math.random() < 0.2; // Bubble abkoppeln wie gehabt this.container.appendChild(this.bubble);