Spaces:
Running
Running
cutechicken
commited on
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -1215,7 +1215,7 @@ function gameLoop() {
|
|
1215 |
constructor(isBoss = false) {
|
1216 |
this.x = Math.random() * canvas.width;
|
1217 |
this.y = Math.random() * canvas.height;
|
1218 |
-
this.health = currentStage === 2 ? (isBoss ?
|
1219 |
this.maxHealth = this.health;
|
1220 |
this.speed = isBoss ? 1 : 2;
|
1221 |
this.lastShot = 0;
|
|
|
1215 |
constructor(isBoss = false) {
|
1216 |
this.x = Math.random() * canvas.width;
|
1217 |
this.y = Math.random() * canvas.height;
|
1218 |
+
this.health = currentStage === 2 ? (isBoss ? 25000 : 1500) : (isBoss ? 20000 : 1000);
|
1219 |
this.maxHealth = this.health;
|
1220 |
this.speed = isBoss ? 1 : 2;
|
1221 |
this.lastShot = 0;
|