浏览代码

Removed powerup button

tags/v0.2.9
Fen Dweller 7 年前
父节点
当前提交
a17019ce61
共有 2 个文件被更改,包括 0 次插入15 次删除
  1. +0
    -14
      forest.js
  2. +0
    -1
      world.js

+ 0
- 14
forest.js 查看文件

@@ -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() {
Creature.call(this, "Wolf", 10, 15, 15);



+ 0
- 1
world.js 查看文件

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


正在加载...
取消
保存