Spaces:
Running
Running
cutechicken
commited on
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -201,7 +201,7 @@
|
|
201 |
constructor(isBoss = false) {
|
202 |
this.x = Math.random() * canvas.width;
|
203 |
this.y = Math.random() * canvas.height;
|
204 |
-
this.health = isBoss ?
|
205 |
this.maxHealth = this.health;
|
206 |
this.speed = isBoss ? 1 : 2;
|
207 |
this.lastShot = 0;
|
|
|
201 |
constructor(isBoss = false) {
|
202 |
this.x = Math.random() * canvas.width;
|
203 |
this.y = Math.random() * canvas.height;
|
204 |
+
this.health = isBoss ? 10000 : 1000;
|
205 |
this.maxHealth = this.health;
|
206 |
this.speed = isBoss ? 1 : 2;
|
207 |
this.lastShot = 0;
|