Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -187,7 +187,7 @@
|
|
187 |
constructor(isBoss = false) {
|
188 |
this.x = Math.random() * canvas.width;
|
189 |
this.y = Math.random() * canvas.height;
|
190 |
-
this.health = isBoss ?
|
191 |
this.maxHealth = this.health;
|
192 |
this.speed = isBoss ? 1 : 2;
|
193 |
this.lastShot = 0;
|
|
|
187 |
constructor(isBoss = false) {
|
188 |
this.x = Math.random() * canvas.width;
|
189 |
this.y = Math.random() * canvas.height;
|
190 |
+
this.health = isBoss ? 20000 : 1000;
|
191 |
this.maxHealth = this.health;
|
192 |
this.speed = isBoss ? 1 : 2;
|
193 |
this.lastShot = 0;
|