Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -569,7 +569,7 @@
|
|
| 569 |
const speedPercent = (Math.abs(flowerSpeed) / maxSpeed) * 100;
|
| 570 |
|
| 571 |
// Only drop wisdom if spinning fast enough and not recently
|
| 572 |
-
if (speedPercent >
|
| 573 |
const wisdom = kabirWisdom[Math.floor(Math.random() * kabirWisdom.length)];
|
| 574 |
|
| 575 |
const bubble = document.createElement('div');
|
|
|
|
| 569 |
const speedPercent = (Math.abs(flowerSpeed) / maxSpeed) * 100;
|
| 570 |
|
| 571 |
// Only drop wisdom if spinning fast enough and not recently
|
| 572 |
+
if (speedPercent > 5 && (now - lastWisdomDropTime > 3000 || !wisdomDropped)) {
|
| 573 |
const wisdom = kabirWisdom[Math.floor(Math.random() * kabirWisdom.length)];
|
| 574 |
|
| 575 |
const bubble = document.createElement('div');
|