1
0

Reduce chance of salto in joy animation

This commit is contained in:
2025-05-26 05:20:54 +02:00
parent 9a6107f988
commit ad9c4db36a

View File

@@ -309,7 +309,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;
// Erst: Wrapper nach oben bewegen (Katze springt hoch)
wrapper.style.transition = 'transform 0.4s cubic-bezier(.19,1,.22,1)';