Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -263,7 +263,7 @@
|
|
263 |
}
|
264 |
|
265 |
function bossDamage() {
|
266 |
-
const damageAmount =
|
267 |
const targetAlly = allies[Math.floor(Math.random() * allies.length)];
|
268 |
targetAlly.hp = Math.max(targetAlly.hp - damageAmount, 0);
|
269 |
updateHealthBar(targetAlly, document.querySelectorAll('.health-bar')[targetAlly.id]);
|
|
|
263 |
}
|
264 |
|
265 |
function bossDamage() {
|
266 |
+
const damageAmount = 8;
|
267 |
const targetAlly = allies[Math.floor(Math.random() * allies.length)];
|
268 |
targetAlly.hp = Math.max(targetAlly.hp - damageAmount, 0);
|
269 |
updateHealthBar(targetAlly, document.querySelectorAll('.health-bar')[targetAlly.id]);
|