Browse Source

日常开发

林旭祥 2 days ago
parent
commit
504c5f75c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/game/fruit.vue

+ 1 - 1
src/views/game/fruit.vue

@@ -1105,7 +1105,7 @@ class PlayScene extends Phaser.Scene {
   startFruit() {
 
     const number = Math.floor(mathTool.randomMinMax(1, 5));
-    const hasBomb = Math.random() > 0.7; // 炸弹概率
+    const hasBomb = Math.random() > 0.9; // 炸弹概率
     const bombIndex = hasBomb ? Math.floor(Math.random() * number) : -1;
 
     for (let i = 0; i < number; i++) {