diff --git a/feast.js b/feast.js index 75b8f30..960fb27 100644 --- a/feast.js +++ b/feast.js @@ -388,8 +388,11 @@ function attackClicked(index) { update([attack.attackPlayer(player)]); - if (player.health <= 0) { + if (player.health <= -100) { update(["You die..."]); + respawn(respawnRoom); + } else if (player.health <= 0) { + update(["You fall to the ground..."]); if (player.prefs.prey) { changeMode("eaten"); } else {