浏览代码

Fixed missing struggle descriptions. Made player tougher. Fixed wrong text when respawning

tags/v0.2.8
Fen Dweller 7 年前
父节点
当前提交
ed45429a6c
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. +2
    -2
      feast.js
  2. +4
    -0
      vore.js

+ 2
- 2
feast.js 查看文件

@@ -269,7 +269,7 @@ function struggleClicked(index) {

if (player.health <= -100) {
update(["You digest in the depths of the " + currentFoe.description()]);
moveTo(respawnRoom);
moveTo(respawnRoom,"You drift through space and time...");
changeMode("explore");
player.health = 100;
update(["You wake back up in your bed."]);
@@ -278,7 +278,7 @@ function struggleClicked(index) {
}

function struggleHovered(index) {
document.getElementById("eaten-desc").innerHTML = player.struggles[index].desc;
document.getElementById("eaten-desc").innerHTML = currentFoe.struggles[index].desc;
}

function startDialog(dialog) {


+ 4
- 0
vore.js 查看文件

@@ -26,6 +26,10 @@ function Player(name = "Player") {

this.attacks.push(new punchAttack(this));
this.attacks.push(new flankAttack(this));

this.str = 15;
this.dex = 15;
this.con = 15;
}

function Anthro() {


正在加载...
取消
保存