소스 검색

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
],
},
{


불러오는 중...
취소
저장