Spaces:
Running
Running
cutechicken
commited on
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -230,7 +230,7 @@
|
|
230 |
constructor(isBoss = false) {
|
231 |
this.x = Math.random() * canvas.width;
|
232 |
this.y = Math.random() * canvas.height;
|
233 |
-
this.health = isBoss ?
|
234 |
this.maxHealth = this.health;
|
235 |
this.speed = isBoss ? 1 : 2;
|
236 |
this.lastShot = 0;
|
|
|
230 |
constructor(isBoss = false) {
|
231 |
this.x = Math.random() * canvas.width;
|
232 |
this.y = Math.random() * canvas.height;
|
233 |
+
this.health = isBoss ? 15000 : 1000;
|
234 |
this.maxHealth = this.health;
|
235 |
this.speed = isBoss ? 1 : 2;
|
236 |
this.lastShot = 0;
|