Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -245,7 +245,7 @@
|
|
245 |
const now = Date.now();
|
246 |
|
247 |
// 기관총을 특정 간격마다 섞어서 발사
|
248 |
-
|
249 |
const sound = new Audio('firemg.ogg'); // 기관총 소리
|
250 |
sound.play();
|
251 |
|
|
|
245 |
const now = Date.now();
|
246 |
|
247 |
// 기관총을 특정 간격마다 섞어서 발사
|
248 |
+
if (this.isBoss && Math.floor(now / 1000) % 3 === 0) {
|
249 |
const sound = new Audio('firemg.ogg'); // 기관총 소리
|
250 |
sound.play();
|
251 |
|