Browse Source

Add a slight constant factor to digestion

mass-vore
Fen Dweller 6 years ago
parent
commit
0efcfc3438
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      stories/mass-vore.js

+ 3
- 1
stories/mass-vore.js View File

@@ -6,9 +6,11 @@

function digest(state, count) {
if (count === undefined) {
count = state.player.stats.stomach.value / 200;
count = state.player.stats.stomach.value / 200 + 2;
}

count = Math.min(state.player.stats.stomach.value, count);

count = Math.floor(count);

state.player.stats.stomach.value -= count;


Loading…
Cancel
Save