Przeglądaj źródła

Removed powerup button

tags/v0.2.9
Fen Dweller 7 lat temu
rodzic
commit
a17019ce61
2 zmienionych plików z 0 dodań i 15 usunięć
  1. +0
    -14
      forest.js
  2. +0
    -1
      world.js

+ 0
- 14
forest.js Wyświetl plik

@@ -47,20 +47,6 @@ function AnacondaTest() {
}); });
} }


function PowerUp() {
GameObject.call(this, "Powerup");

this.actions.push({
"name": "Powerup",
"action": function() {
player.str += 10;
player.dex += 10;
player.con += 10;
updateDisplay();
}
});
}

function Wolf() { function Wolf() {
Creature.call(this, "Wolf", 10, 15, 15); Creature.call(this, "Wolf", 10, 15, 15);




+ 0
- 1
world.js Wyświetl plik

@@ -34,7 +34,6 @@ let locationsSrc = [
Bed, Bed,
Journal, Journal,
AnacondaTest, AnacondaTest,
PowerUp
], ],
}, },
{ {


Ładowanie…
Anuluj
Zapisz