Explorar el Código

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

tags/v0.2.8
Fen Dweller hace 7 años
padre
commit
08e546c3b8
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      feast.js

+ 4
- 1
feast.js Ver fichero

@@ -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 {


Cargando…
Cancelar
Guardar