about summary refs log tree commit diff stats
path: root/html/broughlike/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/broughlike/index.html')
-rw-r--r--html/broughlike/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/html/broughlike/index.html b/html/broughlike/index.html
index 34e40e2..2d09c92 100644
--- a/html/broughlike/index.html
+++ b/html/broughlike/index.html
@@ -406,7 +406,7 @@
             }
 
             if (player.health <= 0) {
-                alert(`Dead\n\nScore: ${player.score}\nDistance Traveled: ${player.cellsTraveled}\nTotal Damage Dealt: ${player.totalDamageDone}\nTotal Damage Received: ${player.totalDamageTaken}\nEnemies Vanquished: ${player.killCount}`);
+                alert(`Dead\n\nScore: ${player.score}\nDistance Traveled: ${player.cellsTraveled}\nTotal Damage Dealt: ${player.totalDamageDone}\nTotal Damage Received: ${player.totalDamageTaken}\nCircles Vanquished: ${player.killCount}`);
                 resetGame();
             }
         }
@@ -419,6 +419,7 @@
             player.totalDamageTaken = 0;
             player.cellsTraveled = 0;
             player.score = 0;
+            player.killCount = 0;
             player.x = 0;
             player.y = 0;
             combatDots = {};
@@ -439,6 +440,7 @@
                 console.log("Distance Traveled: " + player.cellsTraveled);
                 console.log("Total Damage Dealt: " + player.totalDamageDone);
                 console.log("Total Damage Received: " + player.totalDamageTaken);
+                console.log("Circles Vanquished: " + player.killCount);
                 console.groupEnd();
                 combatDots = {};
                 generateExit();