cutechicken commited on
Commit
b5380a8
·
verified ·
1 Parent(s): 6f0442f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +9 -9
index.html CHANGED
@@ -248,15 +248,15 @@
248
  const sound = this.isBoss ? new Audio('firemn.ogg') : enemyFireSound.cloneNode();
249
  sound.play();
250
 
251
- bullets.push({
252
- x: this.x + Math.cos(this.angle) * 30,
253
- y: this.y + Math.sin(this.angle) * 30,
254
- angle: this.angle,
255
- speed: 5,
256
- isEnemy: true,
257
- size: this.isBoss ? 5 : 3,
258
- damage: this.isBoss ? 300 : 150 // 보스 200 -> 300, 일반 적 100 -> 150으로 강화
259
- });
260
  }
261
  }
262
  function showShop() {
 
248
  const sound = this.isBoss ? new Audio('firemn.ogg') : enemyFireSound.cloneNode();
249
  sound.play();
250
 
251
+ bullets.push({
252
+ x: this.x + Math.cos(this.angle) * 30,
253
+ y: this.y + Math.sin(this.angle) * 30,
254
+ angle: this.angle,
255
+ speed: this.isBoss ? 10 : 5, // 보스 탄환 속도 증가
256
+ isEnemy: true,
257
+ size: this.isBoss ? 5 : 3, // 보스일 경우 크기 증가
258
+ damage: this.isBoss ? 300 : 150 // 보스 데미지 강화
259
+ });
260
  }
261
  }
262
  function showShop() {