ソースを参照

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 {


読み込み中…
キャンセル
保存