浏览代码

Fixed arousal limit not being respected. Fixed arousal rounding. Fixed whacking off not setting arousal to the limit.

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

+ 1
- 1
feast.js 查看文件

@@ -257,7 +257,7 @@ function updateDisplay() {
document.getElementById("stat-str").innerHTML = "Str: " + player.str;
document.getElementById("stat-dex").innerHTML = "Dex: " + player.dex;
document.getElementById("stat-con").innerHTML = "Con: " + player.con;
document.getElementById("stat-arousal").innerHTML = "Arousal: " + round(player.arousal,0) + "/" + player.arousalLimit();
document.getElementById("stat-arousal").innerHTML = "Arousal: " + round(player.arousal,0) + "/" + round(player.arousalLimit(),0);
document.getElementById("stat-stomach").innerHTML = "Stomach: " + round(player.stomach.fullness(),0) + "/" + player.stomach.capacity;
if (player.prefs.pred.anal || player.prefs.scat)
document.getElementById("stat-bowels").innerHTML = "Bowels: " + round(player.bowels.fullness(),0) + "/" + player.bowels.capacity;


+ 1
- 1
objects.js 查看文件

@@ -111,7 +111,7 @@ function Bed() {
this.actions.push({
"name": "Whack off",
"action": function() {
player.arousal = 100;
player.arousal = player.arousalLimit();
advanceTime(240);
}
});


+ 1
- 1
vore.js 查看文件

@@ -186,7 +186,7 @@ function Player(name = "Player") {
this.arousal += this.arousalRate * this.womb.fullnessPercent();
this.arousal += this.arousalRate * this.breasts.fullnessPercent();

if (this.arousal > 100) {
if (this.arousal >= this.arousalLimit()) {
update(this.orgasm());
}
};


正在加载...
取消
保存