瀏覽代碼

Fixed dying getting you stuck in an eaten, but non-digesting, state

tags/v0.2.8
Fen Dweller 7 年之前
父節點
當前提交
08e546c3b8
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      feast.js

+ 4
- 1
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 {


Loading…
取消
儲存