소스 검색

日常开发

林旭祥 2 일 전
부모
커밋
504c5f75c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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++) {